Class ChatCompletionContentPartInputAudio.InputAudio
-
- All Implemented Interfaces:
public final class ChatCompletionContentPartInputAudio.InputAudio
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionContentPartInputAudio.InputAudio.BuilderA builder for InputAudio.
public final classChatCompletionContentPartInputAudio.InputAudio.FormatThe format of the encoded audio data. Currently supports "wav" and "mp3".
-
Method Summary
Modifier and Type Method Description final Stringdata()Base64 encoded audio data. final ChatCompletionContentPartInputAudio.InputAudio.Formatformat()The format of the encoded audio data. final JsonField<String>_data()Returns the raw JSON value of data. final JsonField<ChatCompletionContentPartInputAudio.InputAudio.Format>_format()Returns the raw JSON value of format. final Map<String, JsonValue>_additionalProperties()final ChatCompletionContentPartInputAudio.InputAudio.BuildertoBuilder()final ChatCompletionContentPartInputAudio.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 ChatCompletionContentPartInputAudio.InputAudio.Builderbuilder()Returns a mutable builder for constructing an instance of InputAudio. -
-
Method Detail
-
format
final ChatCompletionContentPartInputAudio.InputAudio.Format format()
The format of the encoded audio data. Currently supports "wav" and "mp3".
-
_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<ChatCompletionContentPartInputAudio.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 ChatCompletionContentPartInputAudio.InputAudio.Builder toBuilder()
-
validate
final ChatCompletionContentPartInputAudio.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 ChatCompletionContentPartInputAudio.InputAudio.Builder builder()
Returns a mutable builder for constructing an instance of InputAudio.
The following fields are required:
.data() .format()
-
-
-
-