Class RealtimeSessionCreateResponse.Audio
-
- All Implemented Interfaces:
public final class RealtimeSessionCreateResponse.AudioConfiguration for input and output audio.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeSessionCreateResponse.Audio.BuilderA builder for Audio.
public final classRealtimeSessionCreateResponse.Audio.Inputpublic final classRealtimeSessionCreateResponse.Audio.Output
-
Method Summary
Modifier and Type Method Description final Optional<RealtimeSessionCreateResponse.Audio.Input>input()final Optional<RealtimeSessionCreateResponse.Audio.Output>output()final JsonField<RealtimeSessionCreateResponse.Audio.Input>_input()Returns the raw JSON value of input. final JsonField<RealtimeSessionCreateResponse.Audio.Output>_output()Returns the raw JSON value of output. final Map<String, JsonValue>_additionalProperties()final RealtimeSessionCreateResponse.Audio.BuildertoBuilder()final RealtimeSessionCreateResponse.Audiovalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeSessionCreateResponse.Audio.Builderbuilder()Returns a mutable builder for constructing an instance of Audio. -
-
Method Detail
-
input
final Optional<RealtimeSessionCreateResponse.Audio.Input> input()
-
output
final Optional<RealtimeSessionCreateResponse.Audio.Output> output()
-
_input
final JsonField<RealtimeSessionCreateResponse.Audio.Input> _input()
Returns the raw JSON value of input.
Unlike input, this method doesn't throw if the JSON field has an unexpected type.
-
_output
final JsonField<RealtimeSessionCreateResponse.Audio.Output> _output()
Returns the raw JSON value of output.
Unlike output, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RealtimeSessionCreateResponse.Audio.Builder toBuilder()
-
validate
final RealtimeSessionCreateResponse.Audio 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 RealtimeSessionCreateResponse.Audio.Builder builder()
Returns a mutable builder for constructing an instance of Audio.
-
-
-
-