Package com.openai.models.responses
Class ResponseInputAudio
-
- All Implemented Interfaces:
public final class ResponseInputAudio
An audio input to the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseInputAudio.Builder
A builder for ResponseInputAudio.
public final class
ResponseInputAudio.InputAudio
-
Method Summary
Modifier and Type Method Description final ResponseInputAudio.InputAudio
inputAudio()
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.Builder
toBuilder()
final ResponseInputAudio
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseInputAudio.Builder
builder()
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()
-
builder
final static ResponseInputAudio.Builder builder()
Returns a mutable builder for constructing an instance of ResponseInputAudio.
The following fields are required:
.inputAudio()
-
-
-
-