Package com.oracle.bmc.aispeech.model
Class VoiceSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.aispeech.model.VoiceSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220101") public final class VoiceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails related to the voice available for the given language code and voice type.
 Note: Objects should always be created or deserialized using theVoiceSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theVoiceSummary.Builder, which maintain a set of all explicitly set fields calledVoiceSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classVoiceSummary.Builderstatic classVoiceSummary.GenderGender of the speaker.
 - 
Constructor SummaryConstructors Constructor Description VoiceSummary(String voiceId, String displayName, String description, VoiceSummary.Gender gender, List<String> supportedModels, String languageCode, String languageDescription, Integer sampleRateInHertz, Integer wordsPerMinute, Boolean isDefaultVoice)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VoiceSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDescription()A small description of the voice like its language and voice type.StringgetDisplayName()A user-friendly display name of the language for the user.VoiceSummary.GendergetGender()Gender of the speaker.BooleangetIsDefaultVoice()Whether this voice id is default voice used for inference.StringgetLanguageCode()An abbreviated notation of region to which the language and accent of the speaker belongs to.StringgetLanguageDescription()A description of region to which the language and accent of the speaker belongs to.IntegergetSampleRateInHertz()The sample rate of the speaker in Hertz.List<String>getSupportedModels()Models the particular speaker is aligned to.StringgetVoiceId()Unique Id of the voice.IntegergetWordsPerMinute()The number of words the speaker can narrate per minute.inthashCode()VoiceSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
VoiceSummary@Deprecated @ConstructorProperties({"voiceId","displayName","description","gender","supportedModels","languageCode","languageDescription","sampleRateInHertz","wordsPerMinute","isDefaultVoice"}) public VoiceSummary(String voiceId, String displayName, String description, VoiceSummary.Gender gender, List<String> supportedModels, String languageCode, String languageDescription, Integer sampleRateInHertz, Integer wordsPerMinute, Boolean isDefaultVoice) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static VoiceSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic VoiceSummary.Builder toBuilder() 
 - 
getVoiceIdpublic String getVoiceId() Unique Id of the voice.- Returns:
- the value
 
 - 
getDisplayNamepublic String getDisplayName() A user-friendly display name of the language for the user.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() A small description of the voice like its language and voice type.- Returns:
- the value
 
 - 
getGenderpublic VoiceSummary.Gender getGender() Gender of the speaker.- Returns:
- the value
 
 - 
getSupportedModelspublic List<String> getSupportedModels() Models the particular speaker is aligned to.- Returns:
- the value
 
 - 
getLanguageCodepublic String getLanguageCode() An abbreviated notation of region to which the language and accent of the speaker belongs to.- Returns:
- the value
 
 - 
getLanguageDescriptionpublic String getLanguageDescription() A description of region to which the language and accent of the speaker belongs to.- Returns:
- the value
 
 - 
getSampleRateInHertzpublic Integer getSampleRateInHertz() The sample rate of the speaker in Hertz.- Returns:
- the value
 
 - 
getWordsPerMinutepublic Integer getWordsPerMinute() The number of words the speaker can narrate per minute.It signifies the speed of the speech produced by the speaker. - Returns:
- the value
 
 - 
getIsDefaultVoicepublic Boolean getIsDefaultVoice() Whether this voice id is default voice used for inference.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-