Class ImageFileDeltaBlock
-
- All Implemented Interfaces:
public final class ImageFileDeltaBlockReferences an image File in the content of a message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classImageFileDeltaBlock.BuilderA builder for ImageFileDeltaBlock.
-
Method Summary
Modifier and Type Method Description final Longindex()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.BuildertoBuilder()final ImageFileDeltaBlockvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ImageFileDeltaBlock.Builderbuilder()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()
-
toBuilder
final ImageFileDeltaBlock.Builder toBuilder()
-
validate
final ImageFileDeltaBlock validate()
-
builder
final static ImageFileDeltaBlock.Builder builder()
Returns a mutable builder for constructing an instance of ImageFileDeltaBlock.
The following fields are required:
.index()
-
-
-
-