Package com.openai.models.beta.responses
Class BetaResponseInputAudio.InputAudio
-
- All Implemented Interfaces:
public final class BetaResponseInputAudio.InputAudio
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseInputAudio.InputAudio.BuilderA builder for InputAudio.
public final classBetaResponseInputAudio.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 BetaResponseInputAudio.InputAudio.Formatformat()The format of the audio data. final JsonField<String>_data()Returns the raw JSON value of data. final JsonField<BetaResponseInputAudio.InputAudio.Format>_format()Returns the raw JSON value of format. final Map<String, JsonValue>_additionalProperties()final BetaResponseInputAudio.InputAudio.BuildertoBuilder()final BetaResponseInputAudio.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 BetaResponseInputAudio.InputAudio.Builderbuilder()Returns a mutable builder for constructing an instance of InputAudio. -
-
Method Detail
-
format
final BetaResponseInputAudio.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<BetaResponseInputAudio.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 BetaResponseInputAudio.InputAudio.Builder toBuilder()
-
validate
final BetaResponseInputAudio.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 BetaResponseInputAudio.InputAudio.Builder builder()
Returns a mutable builder for constructing an instance of InputAudio.
The following fields are required:
.data() .format()
-
-
-
-