Package com.openai.models
Class ImageFile
-
- All Implemented Interfaces:
public final class ImageFile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classImageFile.Builderpublic final classImageFile.Detail
-
Method Summary
Modifier and Type Method Description final StringfileId()The File ID of the image in the message content. final Optional<ImageFile.Detail>detail()Specifies the detail level of the image if specified by the user. final JsonField<String>_fileId()The File ID of the image in the message content. final JsonField<ImageFile.Detail>_detail()Specifies the detail level of the image if specified by the user. final Map<String, JsonValue>_additionalProperties()final ImageFilevalidate()final ImageFile.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ImageFile.Builderbuilder()-
-
Method Detail
-
fileId
final String fileId()
The File ID of the image in the message content. Set
purpose="vision"when uploading the File if you need to later display the file content.
-
detail
final Optional<ImageFile.Detail> detail()
Specifies the detail level of the image if specified by the user.
lowuses fewer tokens, you can opt in to high resolution usinghigh.
-
_fileId
final JsonField<String> _fileId()
The File ID of the image in the message content. Set
purpose="vision"when uploading the File if you need to later display the file content.
-
_detail
final JsonField<ImageFile.Detail> _detail()
Specifies the detail level of the image if specified by the user.
lowuses fewer tokens, you can opt in to high resolution usinghigh.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ImageFile.Builder toBuilder()
-
builder
final static ImageFile.Builder builder()
-
-
-
-