Class ImageUrlDeltaBlock
-
- All Implemented Interfaces:
public final class ImageUrlDeltaBlockReferences an image URL in the content of a message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classImageUrlDeltaBlock.BuilderA builder for ImageUrlDeltaBlock.
-
Method Summary
Modifier and Type Method Description final Longindex()The index of the content part in the message. final JsonValue_type()Always image_url.final Optional<ImageUrlDelta>imageUrl()final JsonField<Long>_index()Returns the raw JSON value of index. final JsonField<ImageUrlDelta>_imageUrl()Returns the raw JSON value of imageUrl. final Map<String, JsonValue>_additionalProperties()final ImageUrlDeltaBlock.BuildertoBuilder()final ImageUrlDeltaBlockvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ImageUrlDeltaBlock.Builderbuilder()Returns a mutable builder for constructing an instance of ImageUrlDeltaBlock. -
-
Method Detail
-
_type
final JsonValue _type()
Always
image_url.Expected to always return the following:
JsonValue.from("image_url")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
imageUrl
final Optional<ImageUrlDelta> imageUrl()
-
_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.
-
_imageUrl
final JsonField<ImageUrlDelta> _imageUrl()
Returns the raw JSON value of imageUrl.
Unlike imageUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ImageUrlDeltaBlock.Builder toBuilder()
-
validate
final ImageUrlDeltaBlock validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ImageUrlDeltaBlock.Builder builder()
Returns a mutable builder for constructing an instance of ImageUrlDeltaBlock.
The following fields are required:
.index()
-
-
-
-