Class ImageFileDelta
-
- All Implemented Interfaces:
public final class ImageFileDelta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ImageFileDelta.Builder
A builder for ImageFileDelta.
public final class
ImageFileDelta.Detail
Specifies the detail level of the image if specified by the user.
low
uses fewer tokens, you can opt in to high resolution usinghigh
.
-
Method Summary
Modifier and Type Method Description final Optional<ImageFileDelta.Detail>
detail()
Specifies the detail level of the image if specified by the user. final Optional<String>
fileId()
The File ID of the image in the message content. final JsonField<ImageFileDelta.Detail>
_detail()
Returns the raw JSON value of detail. final JsonField<String>
_fileId()
Returns the raw JSON value of fileId. final Map<String, JsonValue>
_additionalProperties()
final ImageFileDelta.Builder
toBuilder()
final ImageFileDelta
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ImageFileDelta.Builder
builder()
Returns a mutable builder for constructing an instance of ImageFileDelta. -
-
Method Detail
-
detail
final Optional<ImageFileDelta.Detail> detail()
Specifies the detail level of the image if specified by the user.
low
uses fewer tokens, you can opt in to high resolution usinghigh
.
-
fileId
final Optional<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<ImageFileDelta.Detail> _detail()
Returns the raw JSON value of detail.
Unlike detail, this method doesn't throw if the JSON field has an unexpected type.
-
_fileId
final JsonField<String> _fileId()
Returns the raw JSON value of fileId.
Unlike fileId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ImageFileDelta.Builder toBuilder()
-
validate
final ImageFileDelta validate()
-
builder
final static ImageFileDelta.Builder builder()
Returns a mutable builder for constructing an instance of ImageFileDelta.
-
-
-
-