Package com.openai.models.responses
Class ResponseInputAudio
-
- All Implemented Interfaces:
public final class ResponseInputAudioAn audio input to the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseInputAudio.BuilderA builder for ResponseInputAudio.
public final classResponseInputAudio.InputAudio
-
Method Summary
Modifier and Type Method Description final ResponseInputAudio.InputAudioinputAudio()final JsonValue_type()The type of the input item. final JsonField<ResponseInputAudio.InputAudio>_inputAudio()Returns the raw JSON value of inputAudio. final Map<String, JsonValue>_additionalProperties()final ResponseInputAudio.BuildertoBuilder()final ResponseInputAudiovalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseInputAudio.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseInputAudio. -
-
Method Detail
-
inputAudio
final ResponseInputAudio.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<ResponseInputAudio.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 ResponseInputAudio.Builder toBuilder()
-
validate
final ResponseInputAudio 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 ResponseInputAudio.Builder builder()
Returns a mutable builder for constructing an instance of ResponseInputAudio.
The following fields are required:
.inputAudio()
-
-
-
-