Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
*/
package com.ibm.watson.developer_cloud.tone_analyzer.v3.model;

import com.ibm.watson.developer_cloud.service.model.GenericModel;
import com.ibm.watson.developer_cloud.util.Validator;

import java.util.ArrayList;
import java.util.List;

import com.ibm.watson.developer_cloud.service.model.GenericModel;
import com.ibm.watson.developer_cloud.util.Validator;

/**
* The toneChat options.
*/
Expand All @@ -26,8 +26,8 @@ public class ToneChatOptions extends GenericModel {
/**
* The language of the input text for the request: English or French. Regional variants are treated as their parent
* language; for example, `en-US` is interpreted as `en`. The input content must match the specified language. Do not
* submit content that contains both languages. You can specify any combination of languages for `Content-Language`
* and `Accept-Language`. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
* submit content that contains both languages. You can use different languages for **Content-Language** and
* **Accept-Language**. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
*/
public interface ContentLanguage {
/** en. */
Expand All @@ -38,7 +38,8 @@ public interface ContentLanguage {

/**
* The desired language of the response. For two-character arguments, regional variants are treated as their parent
* language; for example, `en-US` is interpreted as `en`.
* language; for example, `en-US` is interpreted as `en`. You can use different languages for **Content-Language** and
* **Accept-Language**.
*/
public interface AcceptLanguage {
/** ar. */
Expand Down Expand Up @@ -189,8 +190,8 @@ public List<Utterance> utterances() {
*
* The language of the input text for the request: English or French. Regional variants are treated as their parent
* language; for example, `en-US` is interpreted as `en`. The input content must match the specified language. Do not
* submit content that contains both languages. You can specify any combination of languages for `Content-Language`
* and `Accept-Language`. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
* submit content that contains both languages. You can use different languages for **Content-Language** and
* **Accept-Language**. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
*
* @return the contentLanguage
*/
Expand All @@ -202,7 +203,8 @@ public String contentLanguage() {
* Gets the acceptLanguage.
*
* The desired language of the response. For two-character arguments, regional variants are treated as their parent
* language; for example, `en-US` is interpreted as `en`.
* language; for example, `en-US` is interpreted as `en`. You can use different languages for **Content-Language** and
* **Accept-Language**.
*
* @return the acceptLanguage
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public interface Tone {
/**
* The language of the input text for the request: English or French. Regional variants are treated as their parent
* language; for example, `en-US` is interpreted as `en`. The input content must match the specified language. Do not
* submit content that contains both languages. You can specify any combination of languages for `Content-Language`
* and `Accept-Language`. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
* submit content that contains both languages. You can use different languages for **Content-Language** and
* **Accept-Language**. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
*/
public interface ContentLanguage {
/** en. */
Expand All @@ -60,8 +60,8 @@ public interface ContentLanguage {

/**
* The desired language of the response. For two-character arguments, regional variants are treated as their parent
* language; for example, `en-US` is interpreted as `en`. You can specify any combination of languages for
* `Content-Language` and `Accept-Language`.
* language; for example, `en-US` is interpreted as `en`. You can use different languages for **Content-Language** and
* **Accept-Language**.
*/
public interface AcceptLanguage {
/** ar. */
Expand Down Expand Up @@ -318,8 +318,8 @@ public List<String> tones() {
*
* The language of the input text for the request: English or French. Regional variants are treated as their parent
* language; for example, `en-US` is interpreted as `en`. The input content must match the specified language. Do not
* submit content that contains both languages. You can specify any combination of languages for `Content-Language`
* and `Accept-Language`. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
* submit content that contains both languages. You can use different languages for **Content-Language** and
* **Accept-Language**. * **`2017-09-21`:** Accepts `en` or `fr`. * **`2016-05-19`:** Accepts only `en`.
*
* @return the contentLanguage
*/
Expand All @@ -331,8 +331,8 @@ public String contentLanguage() {
* Gets the acceptLanguage.
*
* The desired language of the response. For two-character arguments, regional variants are treated as their parent
* language; for example, `en-US` is interpreted as `en`. You can specify any combination of languages for
* `Content-Language` and `Accept-Language`.
* language; for example, `en-US` is interpreted as `en`. You can use different languages for **Content-Language** and
* **Accept-Language**.
*
* @return the acceptLanguage
*/
Expand Down