Class NotificationTemplateCreateRequest
-
- All Implemented Interfaces:
public final class NotificationTemplateCreateRequestRequest body for creating a notification template.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationTemplateCreateRequest.BuilderA builder for NotificationTemplateCreateRequest.
public final classNotificationTemplateCreateRequest.StateTemplate state after creation. 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<NotificationTemplateCreateRequest.State>state()Template state after creation. final JsonField<NotificationTemplatePayload>_notification()Returns the raw JSON value of notification. final JsonField<NotificationTemplateCreateRequest.State>_state()Returns the raw JSON value of state. final Map<String, JsonValue>_additionalProperties()final NotificationTemplateCreateRequest.BuildertoBuilder()final NotificationTemplateCreateRequestvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static NotificationTemplateCreateRequest.Builderbuilder()Returns a mutable builder for constructing an instance of NotificationTemplateCreateRequest. -
-
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<NotificationTemplateCreateRequest.State> state()
Template state after creation. 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<NotificationTemplateCreateRequest.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 NotificationTemplateCreateRequest.Builder toBuilder()
-
validate
final NotificationTemplateCreateRequest validate()
-
builder
final static NotificationTemplateCreateRequest.Builder builder()
Returns a mutable builder for constructing an instance of NotificationTemplateCreateRequest.
The following fields are required:
.notification()
-
-
-
-