Class V1ListVoicesResponse.Voice
-
- All Implemented Interfaces:
public final class V1ListVoicesResponse.Voice
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV1ListVoicesResponse.Voice.BuilderA builder for Voice.
-
Method Summary
Modifier and Type Method Description final Optional<List<String>>availableForTiers()Available subscription tiers final Optional<String>category()Voice category final Optional<String>description()Voice description final JsonValue_labels()Voice characteristics and metadataThis arbitrary value can be deserialized into a custom type using the convertmethod:MyClass myObject = voice.labels().convert(MyClass.class);final Optional<String>name()Voice name final Optional<String>previewUrl()URL to preview audio sample final Optional<String>voiceId()Unique voice identifier final JsonField<List<String>>_availableForTiers()Returns the raw JSON value of availableForTiers. final JsonField<String>_category()Returns the raw JSON value of category. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_previewUrl()Returns the raw JSON value of previewUrl. final JsonField<String>_voiceId()Returns the raw JSON value of voiceId. final Map<String, JsonValue>_additionalProperties()final V1ListVoicesResponse.Voice.BuildertoBuilder()final V1ListVoicesResponse.Voicevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static V1ListVoicesResponse.Voice.Builderbuilder()Returns a mutable builder for constructing an instance of Voice. -
-
Method Detail
-
availableForTiers
final Optional<List<String>> availableForTiers()
Available subscription tiers
-
description
final Optional<String> description()
Voice description
-
_labels
final JsonValue _labels()
Voice characteristics and metadata
This arbitrary value can be deserialized into a custom type using the
convertmethod:MyClass myObject = voice.labels().convert(MyClass.class);
-
previewUrl
final Optional<String> previewUrl()
URL to preview audio sample
-
_availableForTiers
final JsonField<List<String>> _availableForTiers()
Returns the raw JSON value of availableForTiers.
Unlike availableForTiers, this method doesn't throw if the JSON field has an unexpected type.
-
_category
final JsonField<String> _category()
Returns the raw JSON value of category.
Unlike category, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_previewUrl
final JsonField<String> _previewUrl()
Returns the raw JSON value of previewUrl.
Unlike previewUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_voiceId
final JsonField<String> _voiceId()
Returns the raw JSON value of voiceId.
Unlike voiceId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final V1ListVoicesResponse.Voice.Builder toBuilder()
-
validate
final V1ListVoicesResponse.Voice validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static V1ListVoicesResponse.Voice.Builder builder()
Returns a mutable builder for constructing an instance of Voice.
-
-
-
-