Class NotificationTemplatePayload
-
- All Implemented Interfaces:
public final class NotificationTemplatePayloadFull document shape used in POST and PUT request bodies, and returned inside the GET response envelope.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNotificationTemplatePayload.BuilderA builder for NotificationTemplatePayload.
public final classNotificationTemplatePayload.BrandBrand reference, or null for no brand.
public final classNotificationTemplatePayload.RoutingRouting strategy reference, or null for none.
public final classNotificationTemplatePayload.SubscriptionSubscription topic reference, or null for none.
-
Method Summary
-
-
Method Detail
-
brand
final Optional<NotificationTemplatePayload.Brand> brand()
Brand reference, or null for no brand.
-
content
final ElementalContent content()
Elemental content definition.
-
routing
final Optional<NotificationTemplatePayload.Routing> routing()
Routing strategy reference, or null for none.
-
subscription
final Optional<NotificationTemplatePayload.Subscription> subscription()
Subscription topic reference, or null for none.
-
_brand
final JsonField<NotificationTemplatePayload.Brand> _brand()
Returns the raw JSON value of brand.
Unlike brand, this method doesn't throw if the JSON field has an unexpected type.
-
_content
final JsonField<ElementalContent> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_routing
final JsonField<NotificationTemplatePayload.Routing> _routing()
Returns the raw JSON value of routing.
Unlike routing, this method doesn't throw if the JSON field has an unexpected type.
-
_subscription
final JsonField<NotificationTemplatePayload.Subscription> _subscription()
Returns the raw JSON value of subscription.
Unlike subscription, this method doesn't throw if the JSON field has an unexpected type.
-
_tags
final JsonField<List<String>> _tags()
Returns the raw JSON value of tags.
Unlike tags, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NotificationTemplatePayload.Builder toBuilder()
-
validate
final NotificationTemplatePayload validate()
-
builder
final static NotificationTemplatePayload.Builder builder()
Returns a mutable builder for constructing an instance of NotificationTemplatePayload.
The following fields are required:
.brand() .content() .name() .routing() .subscription() .tags()
-
-
-
-