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