Class ImageFileContentBlock
-
- All Implemented Interfaces:
public final class ImageFileContentBlock
References an image File in the content of a message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ImageFileContentBlock.Builder
A builder for ImageFileContentBlock.
-
Method Summary
Modifier and Type Method Description final ImageFile
imageFile()
final JsonValue
_type()
Always image_file
.final JsonField<ImageFile>
_imageFile()
Returns the raw JSON value of imageFile. final Map<String, JsonValue>
_additionalProperties()
final ImageFileContentBlock.Builder
toBuilder()
final ImageFileContentBlock
validate()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ImageFileContentBlock.Builder
builder()
Returns a mutable builder for constructing an instance of ImageFileContentBlock. -
-
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 JsonField<ImageFile> _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 ImageFileContentBlock.Builder toBuilder()
-
validate
final ImageFileContentBlock validate()
-
builder
final static ImageFileContentBlock.Builder builder()
Returns a mutable builder for constructing an instance of ImageFileContentBlock.
The following fields are required:
.imageFile()
-
-
-
-