Package com.openai.models.audio.speech
Class SpeechCreateParams.Voice.Id
-
- All Implemented Interfaces:
public final class SpeechCreateParams.Voice.IdCustom voice reference.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSpeechCreateParams.Voice.Id.BuilderA builder for Id.
-
Method Summary
Modifier and Type Method Description final Stringid()The custom voice ID, e.g. final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final SpeechCreateParams.Voice.Id.BuildertoBuilder()final SpeechCreateParams.Voice.Idvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SpeechCreateParams.Voice.Id.Builderbuilder()Returns a mutable builder for constructing an instance of Id. -
-
Method Detail
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SpeechCreateParams.Voice.Id.Builder toBuilder()
-
validate
final SpeechCreateParams.Voice.Id 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 SpeechCreateParams.Voice.Id.Builder builder()
Returns a mutable builder for constructing an instance of Id.
The following fields are required:
.id()
-
-
-
-