Package com.openai.models.beta.responses
Class BetaResponseInputAudio
-
- All Implemented Interfaces:
public final class BetaResponseInputAudioAn audio input to the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseInputAudio.BuilderA builder for BetaResponseInputAudio.
public final classBetaResponseInputAudio.InputAudio
-
Method Summary
Modifier and Type Method Description final BetaResponseInputAudio.InputAudioinputAudio()final JsonValue_type()The type of the input item. final JsonField<BetaResponseInputAudio.InputAudio>_inputAudio()Returns the raw JSON value of inputAudio. final Map<String, JsonValue>_additionalProperties()final BetaResponseInputAudio.BuildertoBuilder()final BetaResponseInputAudiovalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponseInputAudio.Builderbuilder()Returns a mutable builder for constructing an instance of BetaResponseInputAudio. -
-
Method Detail
-
inputAudio
final BetaResponseInputAudio.InputAudio inputAudio()
-
_type
final JsonValue _type()
The type of the input item. Always
input_audio.Expected to always return the following:
JsonValue.from("input_audio")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_inputAudio
final JsonField<BetaResponseInputAudio.InputAudio> _inputAudio()
Returns the raw JSON value of inputAudio.
Unlike inputAudio, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaResponseInputAudio.Builder toBuilder()
-
validate
final BetaResponseInputAudio 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 BetaResponseInputAudio.Builder builder()
Returns a mutable builder for constructing an instance of BetaResponseInputAudio.
The following fields are required:
.inputAudio()
-
-
-
-