public class Voice
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Method and Description |
---|---|
CustomModel |
getCustomization()
Gets the customization.
|
String |
getDescription()
Gets the description.
|
String |
getGender()
Gets the gender.
|
String |
getLanguage()
Gets the language.
|
String |
getName()
Gets the name.
|
SupportedFeatures |
getSupportedFeatures()
Gets the supportedFeatures.
|
String |
getUrl()
Gets the url.
|
Boolean |
isCustomizable()
Gets the customizable.
|
public String getUrl()
The URI of the voice.
public String getGender()
The gender of the voice: `male` or `female`.
public String getName()
The name of the voice. Use this as the voice identifier in all requests.
public String getLanguage()
The language and region of the voice (for example, `en-US`).
public String getDescription()
A textual description of the voice.
public 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 CustomModel getCustomization()
Returns information about a specified custom model. This field is returned only by the [Get a voice](#getvoice) method and only when you specify the customization ID of a custom model.
Copyright © 2023 IBM Cloud. All rights reserved.