Class ImageUrlContentBlock.Builder
-
- All Implemented Interfaces:
public final class ImageUrlContentBlock.BuilderA builder for ImageUrlContentBlock.
-
-
Method Summary
Modifier and Type Method Description final ImageUrlContentBlock.BuilderimageUrl(ImageUrl imageUrl)final ImageUrlContentBlock.BuilderimageUrl(JsonField<ImageUrl> imageUrl)Sets Builder.imageUrl to an arbitrary JSON value. final ImageUrlContentBlock.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ImageUrlContentBlock.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ImageUrlContentBlock.BuilderputAdditionalProperty(String key, JsonValue value)final ImageUrlContentBlock.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ImageUrlContentBlock.BuilderremoveAdditionalProperty(String key)final ImageUrlContentBlock.BuilderremoveAllAdditionalProperties(Set<String> keys)final ImageUrlContentBlockbuild()Returns an immutable instance of ImageUrlContentBlock. -
-
Method Detail
-
imageUrl
final ImageUrlContentBlock.Builder imageUrl(ImageUrl imageUrl)
-
imageUrl
final ImageUrlContentBlock.Builder imageUrl(JsonField<ImageUrl> imageUrl)
Sets Builder.imageUrl to an arbitrary JSON value.
You should usually call Builder.imageUrl with a well-typed ImageUrl value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ImageUrlContentBlock.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.
-
additionalProperties
final ImageUrlContentBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ImageUrlContentBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ImageUrlContentBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ImageUrlContentBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ImageUrlContentBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ImageUrlContentBlock build()
Returns an immutable instance of ImageUrlContentBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.imageUrl()
-
-
-
-