Skip to content

Commit 7abf8ad

Browse files
authored
Merge pull request #985 from watson-developer-cloud/codegen-updates
Release v6.6.0
2 parents db98f0c + c1b1ac9 commit 7abf8ad

File tree

85 files changed

+473
-252
lines changed

Some content is hidden

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

85 files changed

+473
-252
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 6.5.1
2+
current_version = 6.6.0
33
commit = True
44
message = docs: Update version numbers from {current_version} -> {new_version}
55

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ All the services:
6060
<dependency>
6161
<groupId>com.ibm.watson.developer_cloud</groupId>
6262
<artifactId>java-sdk</artifactId>
63-
<version>6.5.1</version>
63+
<version>6.6.0</version>
6464
</dependency>
6565
```
6666

@@ -70,7 +70,7 @@ Only Discovery:
7070
<dependency>
7171
<groupId>com.ibm.watson.developer_cloud</groupId>
7272
<artifactId>discovery</artifactId>
73-
<version>6.5.1</version>
73+
<version>6.6.0</version>
7474
</dependency>
7575
```
7676

@@ -79,13 +79,13 @@ Only Discovery:
7979
All the services:
8080

8181
```gradle
82-
'com.ibm.watson.developer_cloud:java-sdk:6.5.1'
82+
'com.ibm.watson.developer_cloud:java-sdk:6.6.0'
8383
```
8484

8585
Only Assistant:
8686

8787
```gradle
88-
'com.ibm.watson.developer_cloud:assistant:6.5.1'
88+
'com.ibm.watson.developer_cloud:assistant:6.6.0'
8989
```
9090

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

110110
```gradle
111-
'com.ibm.watson.developer_cloud:speech-to-text:6.5.2-SNAPSHOT'
111+
'com.ibm.watson.developer_cloud:speech-to-text:6.6.1-SNAPSHOT'
112112
```
113113

114114
##### JAR
@@ -375,7 +375,7 @@ Gradle:
375375

376376
```sh
377377
cd java-sdk
378-
gradle jar # build jar file (build/libs/watson-developer-cloud-6.5.1.jar)
378+
gradle jar # build jar file (build/libs/watson-developer-cloud-6.6.0.jar)
379379
gradle test # run tests
380380
gradle check # performs quality checks on source files and generates reports
381381
gradle testReport # run tests and generate the aggregated test report (build/reports/allTests)
@@ -428,4 +428,4 @@ or [Stack Overflow](http://stackoverflow.com/questions/ask?tags=ibm-watson).
428428
[ibm-cloud-onboarding]: http://console.bluemix.net/registration?target=/developer/watson&cm_sp=WatsonPlatform-WatsonServices-_-OnPageNavLink-IBMWatson_SDKs-_-Java
429429

430430

431-
[jar]: https://github.com/watson-developer-cloud/java-sdk/releases/download/java-sdk-6.5.1/java-sdk-6.5.1-jar-with-dependencies.jar
431+
[jar]: https://github.com/watson-developer-cloud/java-sdk/releases/download/java-sdk-6.6.0/java-sdk-6.6.0-jar-with-dependencies.jar

assistant/README.md

Lines changed: 2 additions & 2 deletions
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.5.1</version>
10+
<version>6.6.0</version>
1111
</dependency>
1212
```
1313

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

1919
## Usage

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,8 @@ public String digressOutSlots() {
642642
/**
643643
* Gets the userLabel.
644644
*
645-
* A label that can be displayed externally to describe the purpose of the node to users.
645+
* A label that can be displayed externally to describe the purpose of the node to users. This string must be no
646+
* longer than 512 characters.
646647
*
647648
* @return the userLabel
648649
*/

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,8 @@ public String digressOutSlots() {
661661
/**
662662
* Gets the userLabel.
663663
*
664-
* A label that can be displayed externally to describe the purpose of the node to users.
664+
* A label that can be displayed externally to describe the purpose of the node to users. This string must be no
665+
* longer than 512 characters.
665666
*
666667
* @return the userLabel
667668
*/

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ public String getDigressOutSlots() {
346346
/**
347347
* Gets the userLabel.
348348
*
349-
* A label that can be displayed externally to describe the purpose of the node to users.
349+
* A label that can be displayed externally to describe the purpose of the node to users. This string must be no
350+
* longer than 512 characters.
350351
*
351352
* @return the userLabel
352353
*/

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ public String getSource() {
162162
/**
163163
* Gets the title.
164164
*
165-
* An optional title to show before the response. Valid only when **response_type**=`image` or `option`.
165+
* An optional title to show before the response. Valid only when **response_type**=`image` or `option`. This string
166+
* must be no longer than 512 characters.
166167
*
167168
* @return the title
168169
*/
@@ -173,7 +174,8 @@ public String getTitle() {
173174
/**
174175
* Gets the description.
175176
*
176-
* An optional description to show with the response. Valid only when **response_type**=`image` or `option`.
177+
* An optional description to show with the response. Valid only when **response_type**=`image` or `option`. This
178+
* string must be no longer than 256 characters.
177179
*
178180
* @return the description
179181
*/
@@ -195,8 +197,8 @@ public String getPreference() {
195197
/**
196198
* Gets the options.
197199
*
198-
* An array of objects describing the options from which the user can choose. Required when
199-
* **response_type**=`option`.
200+
* An array of objects describing the options from which the user can choose. You can include up to 20 options.
201+
* Required when **response_type**=`option`.
200202
*
201203
* @return the options
202204
*/
@@ -208,7 +210,7 @@ public List<DialogNodeOutputOptionsElement> getOptions() {
208210
* Gets the messageToHumanAgent.
209211
*
210212
* An optional message to be sent to the human agent who will be taking over the conversation. Valid only when
211-
* **reponse_type**=`connect_to_agent`.
213+
* **reponse_type**=`connect_to_agent`. This string must be no longer than 256 characters.
212214
*
213215
* @return the messageToHumanAgent
214216
*/

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ public class DialogNodeOutputTextValuesElement extends GenericModel {
2424
/**
2525
* Gets the text.
2626
*
27-
* The text of a response. This can include newline characters (`
28-
* `), Markdown tagging, or other special characters, if supported by the channel.
27+
* The text of a response. This string can include newline characters (`
28+
* `), Markdown tagging, or other special characters, if supported by the channel. It must be no longer than 4096
29+
* characters.
2930
*
3031
* @return the text
3132
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public String getSource() {
131131
/**
132132
* Gets the title.
133133
*
134-
* The title to show before the response.
134+
* The title or introductory text to show before the response.
135135
*
136136
* @return the title
137137
*/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ public String filter() {
144144
/**
145145
* Gets the sort.
146146
*
147-
* The attribute by which returned results will be sorted. To reverse the sort order, prefix the value with a minus
148-
* sign (`-`). Supported values are `name`, `updated`, and `workspace_id`.
147+
* How to sort the returned log events. You can sort by **request_timestamp**. To reverse the sort order, prefix the
148+
* parameter value with a minus sign (`-`).
149149
*
150150
* @return the sort
151151
*/

0 commit comments

Comments
 (0)