Package com.openai.models.responses
Class ResponseInputAudio.InputAudio
-
- All Implemented Interfaces:
public final class ResponseInputAudio.InputAudio
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseInputAudio.InputAudio.BuilderA builder for InputAudio.
public final classResponseInputAudio.InputAudio.FormatThe format of the audio data. Currently supported formats are
mp3andwav.
-
Method Summary
Modifier and Type Method Description final Stringdata()Base64-encoded audio data. final ResponseInputAudio.InputAudio.Formatformat()The format of the audio data. final JsonField<String>_data()Returns the raw JSON value of data. final JsonField<ResponseInputAudio.InputAudio.Format>_format()Returns the raw JSON value of format. final Map<String, JsonValue>_additionalProperties()final ResponseInputAudio.InputAudio.BuildertoBuilder()final ResponseInputAudio.InputAudiovalidate()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.InputAudio.Builderbuilder()Returns a mutable builder for constructing an instance of InputAudio. -
-
Method Detail
-
format
final ResponseInputAudio.InputAudio.Format format()
The format of the audio data. Currently supported formats are
mp3andwav.
-
_data
final JsonField<String> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_format
final JsonField<ResponseInputAudio.InputAudio.Format> _format()
Returns the raw JSON value of format.
Unlike format, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseInputAudio.InputAudio.Builder toBuilder()
-
validate
final ResponseInputAudio.InputAudio 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.InputAudio.Builder builder()
Returns a mutable builder for constructing an instance of InputAudio.
The following fields are required:
.data() .format()
-
-
-
-