Class AddWordsOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.text_to_speech.v1.model.AddWordsOptions
- All Implemented Interfaces:
- com.ibm.cloud.sdk.core.service.model.ObjectModel
public class AddWordsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The addWords options.
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAddWordsOptions.BuilderBuilder.
- 
Method SummaryModifier and Type Method Description StringcustomizationId()Gets the customizationId.AddWordsOptions.BuildernewBuilder()New builder.List<Word>words()Gets the words.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModelequals, hashCode, toString
- 
Method Details- 
newBuilderNew builder.- Returns:
- a AddWordsOptions builder
 
- 
customizationIdGets the customizationId.The customization ID (GUID) of the custom model. You must make the request with credentials for the instance of the service that owns the custom model. - Returns:
- the customizationId
 
- 
wordsGets the words.The [Add custom words](#addwords) method accepts an array of `Word` objects. Each object provides a word that is to be added or updated for the custom model and the word's translation. The [List custom words](#listwords) method returns an array of `Word` objects. Each object shows a word and its translation from the custom model. The words are listed in alphabetical order, with uppercase letters listed before lowercase letters. The array is empty if the custom model contains no words. - Returns:
- the words
 
 
-