public class VoiceModel
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
created |
protected java.lang.String |
customizationId |
protected java.lang.String |
description |
protected java.lang.String |
language |
protected java.lang.String |
lastModified |
protected java.lang.String |
name |
protected java.lang.String |
owner |
protected java.util.List<Word> |
words |
Constructor and Description |
---|
VoiceModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCreated()
Gets the created.
|
java.lang.String |
getCustomizationId()
Gets the customizationId.
|
java.lang.String |
getDescription()
Gets the description.
|
java.lang.String |
getLanguage()
Gets the language.
|
java.lang.String |
getLastModified()
Gets the lastModified.
|
java.lang.String |
getName()
Gets the name.
|
java.lang.String |
getOwner()
Gets the owner.
|
java.util.List<Word> |
getWords()
Gets the words.
|
@SerializedName(value="customization_id") protected java.lang.String customizationId
protected java.lang.String name
protected java.lang.String language
protected java.lang.String owner
protected java.lang.String created
@SerializedName(value="last_modified") protected java.lang.String lastModified
protected java.lang.String description
protected java.util.List<Word> words
public java.lang.String getCustomizationId()
The customization ID (GUID) of the custom voice model. The **Create a custom model** method returns only this field. It does not not return the other fields of this object.
public java.lang.String getName()
The name of the custom voice model.
public java.lang.String getLanguage()
The language identifier of the custom voice model (for example, `en-US`).
public java.lang.String getOwner()
The GUID of the credentials for the instance of the service that owns the custom voice model.
public java.lang.String getCreated()
The date and time in Coordinated Universal Time (UTC) at which the custom voice model was created. The value is provided in full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`).
public java.lang.String getLastModified()
The date and time in Coordinated Universal Time (UTC) at which the custom voice model was last modified. The `created` and `updated` fields are equal when a voice model is first added but has yet to be updated. The value is provided in full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`).
public java.lang.String getDescription()
The description of the custom voice model.
public java.util.List<Word> getWords()
An array of `Word` objects that lists the words and their translations from the custom voice 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. This field is returned only by the **Get a voice** method and only when you specify the customization ID of a custom voice model.