Class ImageFileDeltaBlock
-
- All Implemented Interfaces:
public final class ImageFileDeltaBlock
References an image File in the content of a message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ImageFileDeltaBlock.Builder
A builder for ImageFileDeltaBlock.
-
Method Summary
Modifier and Type Method Description final Long
index()
The index of the content part in the message. final JsonValue
_type()
Always image_file
.final Optional<ImageFileDelta>
imageFile()
final JsonField<Long>
_index()
Returns the raw JSON value of index. final JsonField<ImageFileDelta>
_imageFile()
Returns the raw JSON value of imageFile. final Map<String, JsonValue>
_additionalProperties()
final ImageFileDeltaBlock
validate()
final ImageFileDeltaBlock.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ImageFileDeltaBlock.Builder
builder()
Returns a mutable builder for constructing an instance of ImageFileDeltaBlock. -
-
Method Detail
-
_type
final JsonValue _type()
Always
image_file
.Expected to always return the following:
JsonValue.from("image_file")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
imageFile
final Optional<ImageFileDelta> imageFile()
-
_index
final JsonField<Long> _index()
Returns the raw JSON value of index.
Unlike index, this method doesn't throw if the JSON field has an unexpected type.
-
_imageFile
final JsonField<ImageFileDelta> _imageFile()
Returns the raw JSON value of imageFile.
Unlike imageFile, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ImageFileDeltaBlock validate()
-
toBuilder
final ImageFileDeltaBlock.Builder toBuilder()
-
builder
final static ImageFileDeltaBlock.Builder builder()
Returns a mutable builder for constructing an instance of ImageFileDeltaBlock.
The following fields are required:
.index()
-
-
-
-