Skip to content

Commit f4b6bd2

Browse files
committed
docs(tone-analyzer): Add newest generated code docs
1 parent e2161fb commit f4b6bd2

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

tone-analyzer/src/main/java/com/ibm/watson/developer_cloud/tone_analyzer/v3/model/ToneChatOptions.java

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
*/
1313
package com.ibm.watson.developer_cloud.tone_analyzer.v3.model;
1414

15-
import com.ibm.watson.developer_cloud.service.model.GenericModel;
16-
import com.ibm.watson.developer_cloud.util.Validator;
17-
1815
import java.util.ArrayList;
1916
import java.util.List;
2017

18+
import com.ibm.watson.developer_cloud.service.model.GenericModel;
19+
import com.ibm.watson.developer_cloud.util.Validator;
20+
2121
/**
2222
* The toneChat options.
2323
*/
@@ -26,8 +26,8 @@ public class ToneChatOptions extends GenericModel {
2626
/**
2727
* The language of the input text for the request: English or French. Regional variants are treated as their parent
2828
* language; for example, `en-US` is interpreted as `en`. The input content must match the specified language. Do not
29-
* submit content that contains both languages. You can specify any combination of languages for `Content-Language`
30-
* and `Accept-Language`. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
29+
* submit content that contains both languages. You can use different languages for **Content-Language** and
30+
* **Accept-Language**. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
3131
*/
3232
public interface ContentLanguage {
3333
/** en. */
@@ -38,7 +38,8 @@ public interface ContentLanguage {
3838

3939
/**
4040
* The desired language of the response. For two-character arguments, regional variants are treated as their parent
41-
* language; for example, `en-US` is interpreted as `en`.
41+
* language; for example, `en-US` is interpreted as `en`. You can use different languages for **Content-Language** and
42+
* **Accept-Language**.
4243
*/
4344
public interface AcceptLanguage {
4445
/** ar. */
@@ -189,8 +190,8 @@ public List<Utterance> utterances() {
189190
*
190191
* The language of the input text for the request: English or French. Regional variants are treated as their parent
191192
* language; for example, `en-US` is interpreted as `en`. The input content must match the specified language. Do not
192-
* submit content that contains both languages. You can specify any combination of languages for `Content-Language`
193-
* and `Accept-Language`. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
193+
* submit content that contains both languages. You can use different languages for **Content-Language** and
194+
* **Accept-Language**. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
194195
*
195196
* @return the contentLanguage
196197
*/
@@ -202,7 +203,8 @@ public String contentLanguage() {
202203
* Gets the acceptLanguage.
203204
*
204205
* The desired language of the response. For two-character arguments, regional variants are treated as their parent
205-
* language; for example, `en-US` is interpreted as `en`.
206+
* language; for example, `en-US` is interpreted as `en`. You can use different languages for **Content-Language** and
207+
* **Accept-Language**.
206208
*
207209
* @return the acceptLanguage
208210
*/

tone-analyzer/src/main/java/com/ibm/watson/developer_cloud/tone_analyzer/v3/model/ToneOptions.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public interface Tone {
4848
/**
4949
* The language of the input text for the request: English or French. Regional variants are treated as their parent
5050
* language; for example, `en-US` is interpreted as `en`. The input content must match the specified language. Do not
51-
* submit content that contains both languages. You can specify any combination of languages for `Content-Language`
52-
* and `Accept-Language`. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
51+
* submit content that contains both languages. You can use different languages for **Content-Language** and
52+
* **Accept-Language**. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
5353
*/
5454
public interface ContentLanguage {
5555
/** en. */
@@ -60,8 +60,8 @@ public interface ContentLanguage {
6060

6161
/**
6262
* The desired language of the response. For two-character arguments, regional variants are treated as their parent
63-
* language; for example, `en-US` is interpreted as `en`. You can specify any combination of languages for
64-
* `Content-Language` and `Accept-Language`.
63+
* language; for example, `en-US` is interpreted as `en`. You can use different languages for **Content-Language** and
64+
* **Accept-Language**.
6565
*/
6666
public interface AcceptLanguage {
6767
/** ar. */
@@ -318,8 +318,8 @@ public List<String> tones() {
318318
*
319319
* The language of the input text for the request: English or French. Regional variants are treated as their parent
320320
* language; for example, `en-US` is interpreted as `en`. The input content must match the specified language. Do not
321-
* submit content that contains both languages. You can specify any combination of languages for `Content-Language`
322-
* and `Accept-Language`. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
321+
* submit content that contains both languages. You can use different languages for **Content-Language** and
322+
* **Accept-Language**. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
323323
*
324324
* @return the contentLanguage
325325
*/
@@ -331,8 +331,8 @@ public String contentLanguage() {
331331
* Gets the acceptLanguage.
332332
*
333333
* The desired language of the response. For two-character arguments, regional variants are treated as their parent
334-
* language; for example, `en-US` is interpreted as `en`. You can specify any combination of languages for
335-
* `Content-Language` and `Accept-Language`.
334+
* language; for example, `en-US` is interpreted as `en`. You can use different languages for **Content-Language** and
335+
* **Accept-Language**.
336336
*
337337
* @return the acceptLanguage
338338
*/

0 commit comments

Comments
 (0)