Class ChatCompletionContentPartInputAudio.InputAudio
-
- All Implemented Interfaces:
public final class ChatCompletionContentPartInputAudio.InputAudio
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionContentPartInputAudio.InputAudio.Builder
A builder for InputAudio.
public final class
ChatCompletionContentPartInputAudio.InputAudio.Format
The format of the encoded audio data. Currently supports "wav" and "mp3".
-
Method Summary
Modifier and Type Method Description final String
data()
Base64 encoded audio data. final ChatCompletionContentPartInputAudio.InputAudio.Format
format()
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.Builder
toBuilder()
final ChatCompletionContentPartInputAudio.InputAudio
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionContentPartInputAudio.InputAudio.Builder
builder()
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()
-
builder
final static ChatCompletionContentPartInputAudio.InputAudio.Builder builder()
Returns a mutable builder for constructing an instance of InputAudio.
The following fields are required:
.data() .format()
-
-
-
-