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