Skip to content

Commit e7513b9

Browse files
authored
Merge pull request #1028 from watson-developer-cloud/dialog-node-fix
Add missing property to Assistant v1 DialogNode model
2 parents 24b66fa + dd965e4 commit e7513b9

36 files changed

+69
-54
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 6.11.2
2+
current_version = 6.11.3
33
commit = True
44
message = [skip ci] docs: Update version numbers from {current_version} -> {new_version}
55

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ All the services:
6161
<dependency>
6262
<groupId>com.ibm.watson.developer_cloud</groupId>
6363
<artifactId>java-sdk</artifactId>
64-
<version>6.11.2</version>
64+
<version>6.11.3</version>
6565
</dependency>
6666
```
6767

@@ -71,7 +71,7 @@ Only Discovery:
7171
<dependency>
7272
<groupId>com.ibm.watson.developer_cloud</groupId>
7373
<artifactId>discovery</artifactId>
74-
<version>6.11.2</version>
74+
<version>6.11.3</version>
7575
</dependency>
7676
```
7777

@@ -80,13 +80,13 @@ Only Discovery:
8080
All the services:
8181

8282
```gradle
83-
'com.ibm.watson.developer_cloud:java-sdk:6.11.2'
83+
'com.ibm.watson.developer_cloud:java-sdk:6.11.3'
8484
```
8585

8686
Only Assistant:
8787

8888
```gradle
89-
'com.ibm.watson.developer_cloud:assistant:6.11.2'
89+
'com.ibm.watson.developer_cloud:assistant:6.11.3'
9090
```
9191

9292
##### Development snapshots
@@ -109,7 +109,7 @@ And then reference the snapshot version on your app module gradle
109109
Only Speech to Text:
110110

111111
```gradle
112-
'com.ibm.watson.developer_cloud:speech-to-text:6.11.3-SNAPSHOT'
112+
'com.ibm.watson.developer_cloud:speech-to-text:6.11.4-SNAPSHOT'
113113
```
114114

115115
##### JAR
@@ -348,7 +348,7 @@ Gradle:
348348

349349
```sh
350350
cd java-sdk
351-
gradle jar # build jar file (build/libs/watson-developer-cloud-6.11.2.jar)
351+
gradle jar # build jar file (build/libs/watson-developer-cloud-6.11.3.jar)
352352
gradle test # run tests
353353
gradle check # performs quality checks on source files and generates reports
354354
gradle testReport # run tests and generate the aggregated test report (build/reports/allTests)
@@ -401,4 +401,4 @@ or [Stack Overflow](http://stackoverflow.com/questions/ask?tags=ibm-watson).
401401
[ibm-cloud-onboarding]: http://console.bluemix.net/registration?target=/developer/watson&cm_sp=WatsonPlatform-WatsonServices-_-OnPageNavLink-IBMWatson_SDKs-_-Java
402402

403403

404-
[jar]: https://github.com/watson-developer-cloud/java-sdk/releases/download/java-sdk-6.11.2/java-sdk-6.11.2-jar-with-dependencies.jar
404+
[jar]: https://github.com/watson-developer-cloud/java-sdk/releases/download/java-sdk-6.11.3/java-sdk-6.11.3-jar-with-dependencies.jar

assistant/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
<dependency>
88
<groupId>com.ibm.watson.developer_cloud</groupId>
99
<artifactId>assistant</artifactId>
10-
<version>6.11.2</version>
10+
<version>6.11.3</version>
1111
</dependency>
1212
```
1313

1414
##### Gradle
1515
```gradle
16-
'com.ibm.watson.developer_cloud:assistant:6.11.2'
16+
'com.ibm.watson.developer_cloud:assistant:6.11.3'
1717
```
1818

1919
## Usage

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/Assistant.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@ public ServiceCall<LogCollection> listLogs(ListLogsOptions listLogsOptions) {
15941594
*
15951595
* You associate a customer ID with data by passing the `X-Watson-Metadata` header with a request that passes data.
15961596
* For more information about personal data and customer IDs, see [Information
1597-
* security](https://console.bluemix.net/docs/services/conversation/information-security.html).
1597+
* security](https://cloud.ibm.com/docs/services/assistant/information-security.html).
15981598
*
15991599
* @param deleteUserDataOptions the {@link DeleteUserDataOptions} containing the options for the call
16001600
* @return a {@link ServiceCall} with a response type of Void

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/CreateDialogNode.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ public String previousSibling() {
508508
* Gets the output.
509509
*
510510
* The output of the dialog node. For more information about how to specify dialog node output, see the
511-
* [documentation](https://console.bluemix.net/docs/services/conversation/dialog-overview.html#complex).
511+
* [documentation](https://cloud.ibm.com/docs/services/assistant/dialog-overview.html#complex).
512512
*
513513
* @return the output
514514
*/

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ public String previousSibling() {
527527
* Gets the output.
528528
*
529529
* The output of the dialog node. For more information about how to specify dialog node output, see the
530-
* [documentation](https://console.bluemix.net/docs/services/conversation/dialog-overview.html#complex).
530+
* [documentation](https://cloud.ibm.com/docs/services/assistant/dialog-overview.html#complex).
531531
*
532532
* @return the output
533533
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/CreateValue.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public List<String> synonyms() {
236236
* An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**),
237237
* but not both. A pattern is a regular expression no longer than 512 characters. For more information about how to
238238
* specify a pattern, see the
239-
* [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities).
239+
* [documentation](https://cloud.ibm.com/docs/services/assistant/entities.html#creating-entities).
240240
*
241241
* @return the patterns
242242
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/CreateValueOptions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ public List<String> synonyms() {
292292
* An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**),
293293
* but not both. A pattern is a regular expression no longer than 512 characters. For more information about how to
294294
* specify a pattern, see the
295-
* [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities).
295+
* [documentation](https://cloud.ibm.com/docs/services/assistant/entities.html#creating-entities).
296296
*
297297
* @return the patterns
298298
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/DialogNode.java

+13-1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ public interface DigressOutSlots {
118118
private Date updated;
119119
private List<DialogNodeAction> actions;
120120
private String title;
121+
private Boolean disabled;
121122
@SerializedName("type")
122123
private String nodeType;
123124
@SerializedName("event_name")
@@ -192,7 +193,7 @@ public String getPreviousSibling() {
192193
* Gets the output.
193194
*
194195
* The output of the dialog node. For more information about how to specify dialog node output, see the
195-
* [documentation](https://console.bluemix.net/docs/services/conversation/dialog-overview.html#complex).
196+
* [documentation](https://cloud.ibm.com/docs/services/assistant/dialog-overview.html#complex).
196197
*
197198
* @return the output
198199
*/
@@ -277,6 +278,17 @@ public String getTitle() {
277278
return title;
278279
}
279280

281+
/**
282+
* Gets the disabled.
283+
*
284+
* For internal use only.
285+
*
286+
* @return the disabled
287+
*/
288+
public Boolean isDisabled() {
289+
return disabled;
290+
}
291+
280292
/**
281293
* Gets the nodeType.
282294
*

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/DialogNodeOutput.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
/**
2323
* The output of the dialog node. For more information about how to specify dialog node output, see the
24-
* [documentation](https://console.bluemix.net/docs/services/conversation/dialog-overview.html#complex).
24+
* [documentation](https://cloud.ibm.com/docs/services/assistant/dialog-overview.html#complex).
2525
*/
2626
public class DialogNodeOutput extends DynamicModel {
2727
private Type genericType = new TypeToken<List<DialogNodeOutputGeneric>>() {

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/DialogNodeOutputOptionsElementValue.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class DialogNodeOutputOptionsElementValue extends GenericModel {
2525
/**
2626
* Gets the input.
2727
*
28-
* The user input.
28+
* An input object that includes the input text.
2929
*
3030
* @return the input
3131
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/DialogSuggestionValue.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class DialogSuggestionValue extends GenericModel {
2929
/**
3030
* Gets the input.
3131
*
32-
* The user input.
32+
* An input object that includes the input text.
3333
*
3434
* @return the input
3535
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/InputData.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import com.ibm.watson.developer_cloud.util.Validator;
1717

1818
/**
19-
* The user input.
19+
* An input object that includes the input text.
2020
*/
2121
public class InputData extends GenericModel {
2222

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/ListAllLogsOptions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public Builder newBuilder() {
133133
* A cacheable parameter that limits the results to those matching the specified filter. You must specify a filter
134134
* query that includes a value for `language`, as well as a value for `workspace_id` or
135135
* `request.context.metadata.deployment`. For more information, see the
136-
* [documentation](https://console.bluemix.net/docs/services/conversation/filter-reference.html#filter-query-syntax).
136+
* [documentation](https://cloud.ibm.com/docs/services/assistant/filter-reference.html#filter-query-syntax).
137137
*
138138
* @return the filter
139139
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/ListLogsOptions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public String sort() {
169169
* Gets the filter.
170170
*
171171
* A cacheable parameter that limits the results to those matching the specified filter. For more information, see the
172-
* [documentation](https://console.bluemix.net/docs/services/conversation/filter-reference.html#filter-query-syntax).
172+
* [documentation](https://cloud.ibm.com/docs/services/assistant/filter-reference.html#filter-query-syntax).
173173
*
174174
* @return the filter
175175
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/LogExport.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class LogExport extends GenericModel {
3535
/**
3636
* Gets the request.
3737
*
38-
* A message request formatted for the Watson Assistant service.
38+
* A request sent to the workspace, including the user input and context.
3939
*
4040
* @return the request
4141
*/
@@ -46,7 +46,7 @@ public MessageRequest getRequest() {
4646
/**
4747
* Gets the response.
4848
*
49-
* A response from the Watson Assistant service.
49+
* The response sent by the workspace, including the output text, detected intents and entities, and context.
5050
*
5151
* @return the response
5252
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/MessageOptions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public String workspaceId() {
252252
/**
253253
* Gets the input.
254254
*
255-
* The user input.
255+
* An input object that includes the input text.
256256
*
257257
* @return the input
258258
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/MessageRequest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import com.ibm.watson.developer_cloud.service.model.GenericModel;
1919

2020
/**
21-
* A message request formatted for the Watson Assistant service.
21+
* A request sent to the workspace, including the user input and context.
2222
*/
2323
public class MessageRequest extends GenericModel {
2424

@@ -33,7 +33,7 @@ public class MessageRequest extends GenericModel {
3333
/**
3434
* Gets the input.
3535
*
36-
* The user input.
36+
* An input object that includes the input text.
3737
*
3838
* @return the input
3939
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/MessageResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import com.ibm.watson.developer_cloud.util.GsonSerializationHelper;
2121

2222
/**
23-
* A response from the Watson Assistant service.
23+
* The response sent by the workspace, including the output text, detected intents and entities, and context.
2424
*/
2525
public class MessageResponse extends DynamicModel {
2626
private Type inputType = new TypeToken<MessageInput>() {

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/UpdateDialogNodeOptions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ public String newDigressIn() {
664664
* Gets the newOutput.
665665
*
666666
* The output of the dialog node. For more information about how to specify dialog node output, see the
667-
* [documentation](https://console.bluemix.net/docs/services/conversation/dialog-overview.html#complex).
667+
* [documentation](https://cloud.ibm.com/docs/services/assistant/dialog-overview.html#complex).
668668
*
669669
* @return the newOutput
670670
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/UpdateValueOptions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public Map newMetadata() {
315315
* An array of patterns for the entity value. You can provide either synonyms or patterns (as indicated by **type**),
316316
* but not both. A pattern is a regular expression no longer than 512 characters. For more information about how to
317317
* specify a pattern, see the
318-
* [documentation](https://console.bluemix.net/docs/services/conversation/entities.html#creating-entities).
318+
* [documentation](https://cloud.ibm.com/docs/services/assistant/entities.html#creating-entities).
319319
*
320320
* @return the newPatterns
321321
*/

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/WorkspaceSystemSettings.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import com.ibm.watson.developer_cloud.service.model.GenericModel;
1919

2020
/**
21-
* WorkspaceSystemSettings.
21+
* Global settings for the workspace.
2222
*/
2323
public class WorkspaceSystemSettings extends GenericModel {
2424

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/WorkspaceSystemSettingsDisambiguation.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
import com.ibm.watson.developer_cloud.service.model.GenericModel;
1717

1818
/**
19-
* WorkspaceSystemSettingsDisambiguation.
19+
* Workspace settings related to the disambiguation feature.
20+
*
21+
* **Note:** This feature is available only to Premium users.
2022
*/
2123
public class WorkspaceSystemSettingsDisambiguation extends GenericModel {
2224

assistant/src/main/java/com/ibm/watson/developer_cloud/assistant/v1/model/WorkspaceSystemSettingsTooling.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import com.ibm.watson.developer_cloud.service.model.GenericModel;
1717

1818
/**
19-
* WorkspaceSystemSettingsTooling.
19+
* Workspace settings related to the Watson Assistant tool.
2020
*/
2121
public class WorkspaceSystemSettingsTooling extends GenericModel {
2222

compare-comply/src/test/java/com/ibm/watson/developer_cloud/compare_comply/v1/CompareComplyServiceIT.java

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public void testFeedbackOperations() {
122122
feedbackDataInput.setText(text);
123123
feedbackDataInput.setOriginalLabels(originalLabelsIn);
124124
feedbackDataInput.setUpdatedLabels(updatedLabelsIn);
125+
feedbackDataInput.setFeedbackType("element_classification");
125126

126127
AddFeedbackOptions addFeedbackOptions = new AddFeedbackOptions.Builder()
127128
.userId(userId)

conversation/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Conversation will be removed in the next major release. Please migrate to Assist
1010
<dependency>
1111
<groupId>com.ibm.watson.developer_cloud</groupId>
1212
<artifactId>conversation</artifactId>
13-
<version>6.11.2</version>
13+
<version>6.11.3</version>
1414
</dependency>
1515
```
1616

1717
##### Gradle
1818
```gradle
19-
'com.ibm.watson.developer_cloud:conversation:6.11.2'
19+
'com.ibm.watson.developer_cloud:conversation:6.11.3'
2020
```
2121

2222
## Usage

discovery/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
<dependency>
88
<groupId>com.ibm.watson.developer_cloud</groupId>
99
<artifactId>discovery</artifactId>
10-
<version>6.11.2</version>
10+
<version>6.11.3</version>
1111
</dependency>
1212
```
1313

1414
##### Gradle
1515
```gradle
16-
'com.ibm.watson.developer_cloud:discovery:6.11.2'
16+
'com.ibm.watson.developer_cloud:discovery:6.11.3'
1717
```
1818

1919
## Usage

discovery/src/test/java/com/ibm/watson/developer_cloud/discovery/v1/DiscoveryServiceIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,7 @@ public void tokenizationDictionaryOperationsAreSuccessful() throws InterruptedEx
19011901
// collections
19021902
CreateCollectionOptions createCollectionOptions = new CreateCollectionOptions.Builder()
19031903
.environmentId(environmentId)
1904-
.name("tokenization-dict-testing-collection")
1904+
.name("tokenization-dict-testing-collection " + UUID.randomUUID().toString())
19051905
.language(CreateCollectionOptions.Language.JA)
19061906
.build();
19071907
Collection tokenDictTestCollection = discovery.createCollection(createCollectionOptions).execute();

language-translator/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
<dependency>
88
<groupId>com.ibm.watson.developer_cloud</groupId>
99
<artifactId>language-translator</artifactId>
10-
<version>6.11.2</version>
10+
<version>6.11.3</version>
1111
</dependency>
1212
```
1313

1414
##### Gradle
1515
```gradle
16-
'com.ibm.watson.developer_cloud:language-translator:6.11.2'
16+
'com.ibm.watson.developer_cloud:language-translator:6.11.3'
1717
```
1818

1919
## Usage

natural-language-classifier/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
<dependency>
88
<groupId>com.ibm.watson.developer_cloud</groupId>
99
<artifactId>natural-language-classifier</artifactId>
10-
<version>6.11.2</version>
10+
<version>6.11.3</version>
1111
</dependency>
1212
```
1313

1414
##### Gradle
1515
```gradle
16-
'com.ibm.watson.developer_cloud:natural-language-classifier:6.11.2'
16+
'com.ibm.watson.developer_cloud:natural-language-classifier:6.11.3'
1717
```
1818

1919
## Usage

0 commit comments

Comments
 (0)