Class ImageUrlDeltaBlock.Builder
-
- All Implemented Interfaces:
public final class ImageUrlDeltaBlock.Builder
A builder for ImageUrlDeltaBlock.
-
-
Method Summary
-
-
Method Detail
-
index
final ImageUrlDeltaBlock.Builder index(Long index)
The index of the content part in the message.
-
index
final ImageUrlDeltaBlock.Builder index(JsonField<Long> index)
Sets Builder.index to an arbitrary JSON value.
You should usually call Builder.index with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ImageUrlDeltaBlock.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("image_url")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
imageUrl
final ImageUrlDeltaBlock.Builder imageUrl(ImageUrlDelta imageUrl)
-
imageUrl
final ImageUrlDeltaBlock.Builder imageUrl(JsonField<ImageUrlDelta> imageUrl)
Sets Builder.imageUrl to an arbitrary JSON value.
You should usually call Builder.imageUrl with a well-typed ImageUrlDelta value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ImageUrlDeltaBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ImageUrlDeltaBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ImageUrlDeltaBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ImageUrlDeltaBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ImageUrlDeltaBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ImageUrlDeltaBlock build()
Returns an immutable instance of ImageUrlDeltaBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.index()
-
-
-
-