Class ChatCompletionContentPart.File.FileObject
-
- All Implemented Interfaces:
public final class ChatCompletionContentPart.File.FileObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionContentPart.File.FileObject.Builder
A builder for FileObject.
-
Method Summary
Modifier and Type Method Description final Optional<String>
fileData()
The base64 encoded file data, used when passing the file to the model as a string. final Optional<String>
fileId()
The ID of an uploaded file to use as input. final Optional<String>
fileName()
The name of the file, used when passing the file to the model as a string. final JsonField<String>
_fileData()
The base64 encoded file data, used when passing the file to the model as a string. final JsonField<String>
_fileId()
The ID of an uploaded file to use as input. final JsonField<String>
_fileName()
The name of the file, used when passing the file to the model as a string. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionContentPart.File.FileObject
validate()
final ChatCompletionContentPart.File.FileObject.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionContentPart.File.FileObject.Builder
builder()
Returns a mutable builder for constructing an instance of FileObject. -
-
Method Detail
-
fileData
final Optional<String> fileData()
The base64 encoded file data, used when passing the file to the model as a string.
-
fileName
final Optional<String> fileName()
The name of the file, used when passing the file to the model as a string.
-
_fileData
final JsonField<String> _fileData()
The base64 encoded file data, used when passing the file to the model as a string.
-
_fileName
final JsonField<String> _fileName()
The name of the file, used when passing the file to the model as a string.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionContentPart.File.FileObject validate()
-
toBuilder
final ChatCompletionContentPart.File.FileObject.Builder toBuilder()
-
builder
final static ChatCompletionContentPart.File.FileObject.Builder builder()
Returns a mutable builder for constructing an instance of FileObject.
-
-
-
-