Package com.openai.models.realtime
Class RealtimeResponse.Audio
-
- All Implemented Interfaces:
public final class RealtimeResponse.AudioConfiguration for audio output.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeResponse.Audio.BuilderA builder for Audio.
public final classRealtimeResponse.Audio.Output
-
Method Summary
Modifier and Type Method Description final Optional<RealtimeResponse.Audio.Output>output()final JsonField<RealtimeResponse.Audio.Output>_output()Returns the raw JSON value of output. final Map<String, JsonValue>_additionalProperties()final RealtimeResponse.Audio.BuildertoBuilder()final RealtimeResponse.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 RealtimeResponse.Audio.Builderbuilder()Returns a mutable builder for constructing an instance of Audio. -
-
Method Detail
-
output
final Optional<RealtimeResponse.Audio.Output> output()
-
_output
final JsonField<RealtimeResponse.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 RealtimeResponse.Audio.Builder toBuilder()
-
validate
final RealtimeResponse.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 RealtimeResponse.Audio.Builder builder()
Returns a mutable builder for constructing an instance of Audio.
-
-
-
-