Package com.courier.models.notifications
Class NotificationContentMutationResponse.Element.Builder
-
- All Implemented Interfaces:
public final class NotificationContentMutationResponse.Element.BuilderA builder for Element.
-
-
Method Summary
-
-
Method Detail
-
id
final NotificationContentMutationResponse.Element.Builder id(String id)
-
id
final NotificationContentMutationResponse.Element.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
checksum
final NotificationContentMutationResponse.Element.Builder checksum(String checksum)
-
checksum
final NotificationContentMutationResponse.Element.Builder checksum(JsonField<String> checksum)
Sets Builder.checksum to an arbitrary JSON value.
You should usually call Builder.checksum with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final NotificationContentMutationResponse.Element.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationContentMutationResponse.Element.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationContentMutationResponse.Element.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationContentMutationResponse.Element.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationContentMutationResponse.Element.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationContentMutationResponse.Element build()
Returns an immutable instance of Element.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .checksum()
-
-
-
-