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