Class RealtimeSessionCreateResponse.Audio.Output
-
- All Implemented Interfaces:
public final class RealtimeSessionCreateResponse.Audio.Output
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RealtimeSessionCreateResponse.Audio.Output.Builder
A builder for Output.
public final class
RealtimeSessionCreateResponse.Audio.Output.Voice
-
Method Summary
Modifier and Type Method Description final Optional<String>
format()
The format of output audio. final Optional<Double>
speed()
final Optional<RealtimeSessionCreateResponse.Audio.Output.Voice>
voice()
final JsonField<String>
_format()
Returns the raw JSON value of format. final JsonField<Double>
_speed()
Returns the raw JSON value of speed. final JsonField<RealtimeSessionCreateResponse.Audio.Output.Voice>
_voice()
Returns the raw JSON value of voice. final Map<String, JsonValue>
_additionalProperties()
final RealtimeSessionCreateResponse.Audio.Output.Builder
toBuilder()
final RealtimeSessionCreateResponse.Audio.Output
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static RealtimeSessionCreateResponse.Audio.Output.Builder
builder()
Returns a mutable builder for constructing an instance of Output. -
-
Method Detail
-
format
final Optional<String> format()
The format of output audio. Options are
pcm16
,g711_ulaw
, org711_alaw
.
-
voice
final Optional<RealtimeSessionCreateResponse.Audio.Output.Voice> voice()
-
_format
final JsonField<String> _format()
Returns the raw JSON value of format.
Unlike format, this method doesn't throw if the JSON field has an unexpected type.
-
_speed
final JsonField<Double> _speed()
Returns the raw JSON value of speed.
Unlike speed, this method doesn't throw if the JSON field has an unexpected type.
-
_voice
final JsonField<RealtimeSessionCreateResponse.Audio.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 RealtimeSessionCreateResponse.Audio.Output.Builder toBuilder()
-
validate
final RealtimeSessionCreateResponse.Audio.Output validate()
-
builder
final static RealtimeSessionCreateResponse.Audio.Output.Builder builder()
Returns a mutable builder for constructing an instance of Output.
-
-
-
-