Class NotificationTemplateUpdateRequest
-
- All Implemented Interfaces:
public final class NotificationTemplateUpdateRequestRequest body for replacing a notification template. Same shape as create. All fields required (PUT = full replacement).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationTemplateUpdateRequest.BuilderA builder for NotificationTemplateUpdateRequest.
public final classNotificationTemplateUpdateRequest.StateTemplate state after update. Case-insensitive input, normalized to uppercase in the response. Defaults to "DRAFT".
-
Method Summary
Modifier and Type Method Description final NotificationTemplatePayloadnotification()Full document shape used in POST and PUT request bodies, and returned inside the GET response envelope. final Optional<NotificationTemplateUpdateRequest.State>state()Template state after update. final JsonField<NotificationTemplatePayload>_notification()Returns the raw JSON value of notification. final JsonField<NotificationTemplateUpdateRequest.State>_state()Returns the raw JSON value of state. final Map<String, JsonValue>_additionalProperties()final NotificationTemplateUpdateRequest.BuildertoBuilder()final NotificationTemplateUpdateRequestvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static NotificationTemplateUpdateRequest.Builderbuilder()Returns a mutable builder for constructing an instance of NotificationTemplateUpdateRequest. -
-
Method Detail
-
notification
final NotificationTemplatePayload notification()
Full document shape used in POST and PUT request bodies, and returned inside the GET response envelope.
-
state
final Optional<NotificationTemplateUpdateRequest.State> state()
Template state after update. Case-insensitive input, normalized to uppercase in the response. Defaults to "DRAFT".
-
_notification
final JsonField<NotificationTemplatePayload> _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<NotificationTemplateUpdateRequest.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 NotificationTemplateUpdateRequest.Builder toBuilder()
-
validate
final NotificationTemplateUpdateRequest validate()
-
builder
final static NotificationTemplateUpdateRequest.Builder builder()
Returns a mutable builder for constructing an instance of NotificationTemplateUpdateRequest.
The following fields are required:
.notification()
-
-
-
-