Class RealtimeResponseCreateAudioOutput.Output
-
- All Implemented Interfaces:
public final class RealtimeResponseCreateAudioOutput.Output
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeResponseCreateAudioOutput.Output.BuilderA builder for Output.
public final classRealtimeResponseCreateAudioOutput.Output.VoiceThe voice the model uses to respond. Voice cannot be changed during the session once the model has responded with audio at least once. Current voice options are
alloy,ash,ballad,coral,echo,sage,shimmer,verse,marin, andcedar. We recommendmarinandcedarfor best quality.
-
Method Summary
Modifier and Type Method Description final Optional<RealtimeAudioFormats>format()The format of the output audio. final Optional<RealtimeResponseCreateAudioOutput.Output.Voice>voice()The voice the model uses to respond. final JsonField<RealtimeAudioFormats>_format()Returns the raw JSON value of format. final JsonField<RealtimeResponseCreateAudioOutput.Output.Voice>_voice()Returns the raw JSON value of voice. final Map<String, JsonValue>_additionalProperties()final RealtimeResponseCreateAudioOutput.Output.BuildertoBuilder()final RealtimeResponseCreateAudioOutput.Outputvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeResponseCreateAudioOutput.Output.Builderbuilder()Returns a mutable builder for constructing an instance of Output. -
-
Method Detail
-
format
final Optional<RealtimeAudioFormats> format()
The format of the output audio.
-
voice
final Optional<RealtimeResponseCreateAudioOutput.Output.Voice> voice()
The voice the model uses to respond. Voice cannot be changed during the session once the model has responded with audio at least once. Current voice options are
alloy,ash,ballad,coral,echo,sage,shimmer,verse,marin, andcedar. We recommendmarinandcedarfor best quality.
-
_format
final JsonField<RealtimeAudioFormats> _format()
Returns the raw JSON value of format.
Unlike format, this method doesn't throw if the JSON field has an unexpected type.
-
_voice
final JsonField<RealtimeResponseCreateAudioOutput.Output.Voice> _voice()
Returns the raw JSON value of voice.
Unlike voice, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RealtimeResponseCreateAudioOutput.Output.Builder toBuilder()
-
validate
final RealtimeResponseCreateAudioOutput.Output validate()
-
builder
final static RealtimeResponseCreateAudioOutput.Output.Builder builder()
Returns a mutable builder for constructing an instance of Output.
-
-
-
-