Package com.courier.models.notifications
Class NotificationTemplateMutationResponse
-
- All Implemented Interfaces:
public final class NotificationTemplateMutationResponseResponse returned by POST and PUT operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationTemplateMutationResponse.BuilderA builder for NotificationTemplateMutationResponse.
public final classNotificationTemplateMutationResponse.Notificationpublic final classNotificationTemplateMutationResponse.StateThe template state after the operation. Always uppercase.
-
Method Summary
Modifier and Type Method Description final NotificationTemplateMutationResponse.Notificationnotification()final NotificationTemplateMutationResponse.Statestate()The template state after the operation. final JsonField<NotificationTemplateMutationResponse.Notification>_notification()Returns the raw JSON value of notification. final JsonField<NotificationTemplateMutationResponse.State>_state()Returns the raw JSON value of state. final Map<String, JsonValue>_additionalProperties()final NotificationTemplateMutationResponse.BuildertoBuilder()final NotificationTemplateMutationResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static NotificationTemplateMutationResponse.Builderbuilder()Returns a mutable builder for constructing an instance of NotificationTemplateMutationResponse. -
-
Method Detail
-
notification
final NotificationTemplateMutationResponse.Notification notification()
-
state
final NotificationTemplateMutationResponse.State state()
The template state after the operation. Always uppercase.
-
_notification
final JsonField<NotificationTemplateMutationResponse.Notification> _notification()
Returns the raw JSON value of notification.
Unlike notification, this method doesn't throw if the JSON field has an unexpected type.
-
_state
final JsonField<NotificationTemplateMutationResponse.State> _state()
Returns the raw JSON value of state.
Unlike state, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NotificationTemplateMutationResponse.Builder toBuilder()
-
validate
final NotificationTemplateMutationResponse validate()
-
builder
final static NotificationTemplateMutationResponse.Builder builder()
Returns a mutable builder for constructing an instance of NotificationTemplateMutationResponse.
The following fields are required:
.notification() .state()
-
-
-
-