public class Voice
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
customizable |
protected VoiceModel |
customization |
protected java.lang.String |
description |
protected java.lang.String |
gender |
protected java.lang.String |
language |
protected java.lang.String |
name |
protected SupportedFeatures |
supportedFeatures |
protected java.lang.String |
url |
Constructor and Description |
---|
Voice() |
Modifier and Type | Method and Description |
---|---|
VoiceModel |
getCustomization()
Gets the customization.
|
java.lang.String |
getDescription()
Gets the description.
|
java.lang.String |
getGender()
Gets the gender.
|
java.lang.String |
getLanguage()
Gets the language.
|
java.lang.String |
getName()
Gets the name.
|
SupportedFeatures |
getSupportedFeatures()
Gets the supportedFeatures.
|
java.lang.String |
getUrl()
Gets the url.
|
java.lang.Boolean |
isCustomizable()
Gets the customizable.
|
protected java.lang.String url
protected java.lang.String gender
protected java.lang.String name
protected java.lang.String language
protected java.lang.String description
protected java.lang.Boolean customizable
@SerializedName(value="supported_features") protected SupportedFeatures supportedFeatures
protected VoiceModel customization
public java.lang.String getUrl()
The URI of the voice.
public java.lang.String getGender()
The gender of the voice: `male` or `female`.
public java.lang.String getName()
The name of the voice. Use this as the voice identifier in all requests.
public java.lang.String getLanguage()
The language and region of the voice (for example, `en-US`).
public java.lang.String getDescription()
A textual description of the voice.
public java.lang.Boolean isCustomizable()
If `true`, the voice can be customized; if `false`, the voice cannot be customized. (Same as `custom_pronunciation`; maintained for backward compatibility.).
public SupportedFeatures getSupportedFeatures()
Additional service features that are supported with the voice.
public VoiceModel getCustomization()
Returns information about a specified custom voice model. This field is returned only by the **Get a voice** method and only when you specify the customization ID of a custom voice model.