Skip to content

Commit cac83a5

Browse files
refactor(all): comment and code completion changes
1 parent 526a25f commit cac83a5

File tree

507 files changed

+4804
-2732
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

507 files changed

+4804
-2732
lines changed

assistant/src/main/java/com/ibm/watson/assistant/v1/model/AgentAvailabilityMessage.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2020.
2+
* (C) Copyright IBM Corp. 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -51,6 +51,8 @@ public Builder message(String message) {
5151
}
5252
}
5353

54+
protected AgentAvailabilityMessage() {}
55+
5456
protected AgentAvailabilityMessage(Builder builder) {
5557
message = builder.message;
5658
}

assistant/src/main/java/com/ibm/watson/assistant/v1/model/BulkClassifyOptions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2020.
2+
* (C) Copyright IBM Corp. 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -91,6 +91,8 @@ public Builder input(List<BulkClassifyUtterance> input) {
9191
}
9292
}
9393

94+
protected BulkClassifyOptions() {}
95+
9496
protected BulkClassifyOptions(Builder builder) {
9597
com.ibm.cloud.sdk.core.util.Validator.notEmpty(
9698
builder.workspaceId, "workspaceId cannot be empty");

assistant/src/main/java/com/ibm/watson/assistant/v1/model/BulkClassifyUtterance.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2020.
2+
* (C) Copyright IBM Corp. 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -60,6 +60,8 @@ public Builder text(String text) {
6060
}
6161
}
6262

63+
protected BulkClassifyUtterance() {}
64+
6365
protected BulkClassifyUtterance(Builder builder) {
6466
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.text, "text cannot be null");
6567
text = builder.text;

assistant/src/main/java/com/ibm/watson/assistant/v1/model/CaptureGroup.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2020.
2+
* (C) Copyright IBM Corp. 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -91,6 +91,8 @@ public Builder location(List<Long> location) {
9191
}
9292
}
9393

94+
protected CaptureGroup() {}
95+
9496
protected CaptureGroup(Builder builder) {
9597
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.group, "group cannot be null");
9698
group = builder.group;

assistant/src/main/java/com/ibm/watson/assistant/v1/model/ChannelTransferInfo.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2021.
2+
* (C) Copyright IBM Corp. 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -60,6 +60,8 @@ public Builder target(ChannelTransferTarget target) {
6060
}
6161
}
6262

63+
protected ChannelTransferInfo() {}
64+
6365
protected ChannelTransferInfo(Builder builder) {
6466
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.target, "target cannot be null");
6567
target = builder.target;

assistant/src/main/java/com/ibm/watson/assistant/v1/model/ChannelTransferTarget.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2021.
2+
* (C) Copyright IBM Corp. 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -55,6 +55,8 @@ public Builder chat(ChannelTransferTargetChat chat) {
5555
}
5656
}
5757

58+
protected ChannelTransferTarget() {}
59+
5860
protected ChannelTransferTarget(Builder builder) {
5961
chat = builder.chat;
6062
}

assistant/src/main/java/com/ibm/watson/assistant/v1/model/ChannelTransferTargetChat.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2021.
2+
* (C) Copyright IBM Corp. 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -51,6 +51,8 @@ public Builder url(String url) {
5151
}
5252
}
5353

54+
protected ChannelTransferTargetChat() {}
55+
5456
protected ChannelTransferTargetChat(Builder builder) {
5557
url = builder.url;
5658
}

assistant/src/main/java/com/ibm/watson/assistant/v1/model/Counterexample.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2017, 2020.
2+
* (C) Copyright IBM Corp. 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -63,6 +63,8 @@ public Builder text(String text) {
6363
}
6464
}
6565

66+
protected Counterexample() {}
67+
6668
protected Counterexample(Builder builder) {
6769
com.ibm.cloud.sdk.core.util.Validator.notNull(builder.text, "text cannot be null");
6870
text = builder.text;

assistant/src/main/java/com/ibm/watson/assistant/v1/model/CreateCounterexampleOptions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2017, 2020.
2+
* (C) Copyright IBM Corp. 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -101,6 +101,8 @@ public Builder counterexample(Counterexample counterexample) {
101101
}
102102
}
103103

104+
protected CreateCounterexampleOptions() {}
105+
104106
protected CreateCounterexampleOptions(Builder builder) {
105107
com.ibm.cloud.sdk.core.util.Validator.notEmpty(
106108
builder.workspaceId, "workspaceId cannot be empty");

assistant/src/main/java/com/ibm/watson/assistant/v1/model/CreateDialogNodeOptions.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2017, 2021.
2+
* (C) Copyright IBM Corp. 2022.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -457,6 +457,8 @@ public Builder dialogNode(DialogNode dialogNode) {
457457
}
458458
}
459459

460+
protected CreateDialogNodeOptions() {}
461+
460462
protected CreateDialogNodeOptions(Builder builder) {
461463
com.ibm.cloud.sdk.core.util.Validator.notEmpty(
462464
builder.workspaceId, "workspaceId cannot be empty");

0 commit comments

Comments
 (0)