Skip to content

Commit 65f3f1e

Browse files
authored
Merge pull request #926 from watson-developer-cloud/codegen/text-to-speech
[Text to Speech] Add newest generated code
2 parents 631d877 + c8010b4 commit 65f3f1e

File tree

14 files changed

+125
-120
lines changed

14 files changed

+125
-120
lines changed

text-to-speech/src/main/java/com/ibm/watson/developer_cloud/text_to_speech/v1/TextToSpeech.java

Lines changed: 87 additions & 89 deletions
Large diffs are not rendered by default.

text-to-speech/src/main/java/com/ibm/watson/developer_cloud/text_to_speech/v1/model/AddWordOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ public Builder newBuilder() {
188188
/**
189189
* Gets the customizationId.
190190
*
191-
* The GUID of the custom voice model that is to be updated. You must make the request with service credentials
192-
* created for the instance of the service that owns the custom model.
191+
* The GUID of the custom voice model. You must make the request with service credentials created for the instance of
192+
* the service that owns the custom model.
193193
*
194194
* @return the customizationId
195195
*/

text-to-speech/src/main/java/com/ibm/watson/developer_cloud/text_to_speech/v1/model/AddWordsOptions.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ public Builder newBuilder() {
130130
/**
131131
* Gets the customizationId.
132132
*
133-
* The GUID of the custom voice model that is to be updated. You must make the request with service credentials
134-
* created for the instance of the service that owns the custom model.
133+
* The GUID of the custom voice model. You must make the request with service credentials created for the instance of
134+
* the service that owns the custom model.
135135
*
136136
* @return the customizationId
137137
*/
@@ -142,8 +142,11 @@ public String customizationId() {
142142
/**
143143
* Gets the words.
144144
*
145-
* An array of words and their translations from the custom voice model. The words are listed in alphabetical order,
146-
* with uppercase letters listed before lowercase letters. The array is empty if the custom model contains no words.
145+
* **When adding words to a custom voice model,** an array of `Word` objects that provides one or more words that are
146+
* to be added or updated for the custom voice model and the translation for each specified word. **When listing words
147+
* from a custom voice model,** an array of `Word` objects that lists the words and their translations from the custom
148+
* voice model. The words are listed in alphabetical order, with uppercase letters listed before lowercase letters.
149+
* The array is empty if the custom model contains no words.
147150
*
148151
* @return the words
149152
*/

text-to-speech/src/main/java/com/ibm/watson/developer_cloud/text_to_speech/v1/model/DeleteVoiceModelOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ public Builder newBuilder() {
8585
/**
8686
* Gets the customizationId.
8787
*
88-
* The GUID of the custom voice model that is to be deleted. You must make the request with service credentials
89-
* created for the instance of the service that owns the custom model.
88+
* The GUID of the custom voice model. You must make the request with service credentials created for the instance of
89+
* the service that owns the custom model.
9090
*
9191
* @return the customizationId
9292
*/

text-to-speech/src/main/java/com/ibm/watson/developer_cloud/text_to_speech/v1/model/DeleteWordOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ public Builder newBuilder() {
103103
/**
104104
* Gets the customizationId.
105105
*
106-
* The GUID of the custom voice model from which to delete a word. You must make the request with service credentials
107-
* created for the instance of the service that owns the custom model.
106+
* The GUID of the custom voice model. You must make the request with service credentials created for the instance of
107+
* the service that owns the custom model.
108108
*
109109
* @return the customizationId
110110
*/

text-to-speech/src/main/java/com/ibm/watson/developer_cloud/text_to_speech/v1/model/GetPronunciationOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class GetPronunciationOptions extends GenericModel {
2222

2323
/**
2424
* A voice that specifies the language in which the pronunciation is to be returned. All voices for the same language
25-
* (for example, `en-US`) return the same translation. Retrieve available voices with the `GET /v1/voices` method.
25+
* (for example, `en-US`) return the same translation.
2626
*/
2727
public interface Voice {
2828
/** en-US_AllisonVoice. */
@@ -188,7 +188,7 @@ public String text() {
188188
* Gets the voice.
189189
*
190190
* A voice that specifies the language in which the pronunciation is to be returned. All voices for the same language
191-
* (for example, `en-US`) return the same translation. Retrieve available voices with the `GET /v1/voices` method.
191+
* (for example, `en-US`) return the same translation.
192192
*
193193
* @return the voice
194194
*/

text-to-speech/src/main/java/com/ibm/watson/developer_cloud/text_to_speech/v1/model/GetVoiceModelOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ public Builder newBuilder() {
8585
/**
8686
* Gets the customizationId.
8787
*
88-
* The GUID of the custom voice model that is to be queried. You must make the request with service credentials
89-
* created for the instance of the service that owns the custom model.
88+
* The GUID of the custom voice model. You must make the request with service credentials created for the instance of
89+
* the service that owns the custom model.
9090
*
9191
* @return the customizationId
9292
*/

text-to-speech/src/main/java/com/ibm/watson/developer_cloud/text_to_speech/v1/model/GetVoiceOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
public class GetVoiceOptions extends GenericModel {
2222

2323
/**
24-
* The voice for which information is to be returned. Retrieve available voices with the `GET /v1/voices` method.
24+
* The voice for which information is to be returned.
2525
*/
2626
public interface Voice {
2727
/** en-US_AllisonVoice. */
@@ -134,7 +134,7 @@ public Builder newBuilder() {
134134
/**
135135
* Gets the voice.
136136
*
137-
* The voice for which information is to be returned. Retrieve available voices with the `GET /v1/voices` method.
137+
* The voice for which information is to be returned.
138138
*
139139
* @return the voice
140140
*/

text-to-speech/src/main/java/com/ibm/watson/developer_cloud/text_to_speech/v1/model/GetWordOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ public Builder newBuilder() {
103103
/**
104104
* Gets the customizationId.
105105
*
106-
* The GUID of the custom voice model from which to query a word. You must make the request with service credentials
107-
* created for the instance of the service that owns the custom model.
106+
* The GUID of the custom voice model. You must make the request with service credentials created for the instance of
107+
* the service that owns the custom model.
108108
*
109109
* @return the customizationId
110110
*/

text-to-speech/src/main/java/com/ibm/watson/developer_cloud/text_to_speech/v1/model/ListWordsOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ public Builder newBuilder() {
8585
/**
8686
* Gets the customizationId.
8787
*
88-
* The GUID of the custom voice model that is to be queried. You must make the request with service credentials
89-
* created for the instance of the service that owns the custom model.
88+
* The GUID of the custom voice model. You must make the request with service credentials created for the instance of
89+
* the service that owns the custom model.
9090
*
9191
* @return the customizationId
9292
*/

0 commit comments

Comments
 (0)