Package com.courier.models.notifications
Class NotificationTemplateMutationResponse.Notification.Builder
-
- All Implemented Interfaces:
public final class NotificationTemplateMutationResponse.Notification.BuilderA builder for Notification.
-
-
Method Summary
Modifier and Type Method Description final NotificationTemplateMutationResponse.Notification.Builderid(String id)The ID of the created or updated template. final NotificationTemplateMutationResponse.Notification.Builderid(JsonField<String> id)Sets Builder.id to an arbitrary JSON value. final NotificationTemplateMutationResponse.Notification.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final NotificationTemplateMutationResponse.Notification.BuilderputAdditionalProperty(String key, JsonValue value)final NotificationTemplateMutationResponse.Notification.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final NotificationTemplateMutationResponse.Notification.BuilderremoveAdditionalProperty(String key)final NotificationTemplateMutationResponse.Notification.BuilderremoveAllAdditionalProperties(Set<String> keys)final NotificationTemplateMutationResponse.Notificationbuild()Returns an immutable instance of Notification. -
-
Method Detail
-
id
final NotificationTemplateMutationResponse.Notification.Builder id(String id)
The ID of the created or updated template.
-
id
final NotificationTemplateMutationResponse.Notification.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.
-
additionalProperties
final NotificationTemplateMutationResponse.Notification.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationTemplateMutationResponse.Notification.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationTemplateMutationResponse.Notification.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationTemplateMutationResponse.Notification.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationTemplateMutationResponse.Notification.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationTemplateMutationResponse.Notification build()
Returns an immutable instance of Notification.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-