Class NotificationTemplateGetResponse.Notification
-
- All Implemented Interfaces:
public final class NotificationTemplateGetResponse.NotificationFull 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 classNotificationTemplateGetResponse.Notification.BuilderA builder for Notification.
-
Method Summary
-
-
Method Detail
-
toNotificationTemplatePayload
final NotificationTemplatePayload toNotificationTemplatePayload()
-
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.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final NotificationTemplateGetResponse.Notification.Builder toBuilder()
-
validate
final NotificationTemplateGetResponse.Notification validate()
-
builder
final static NotificationTemplateGetResponse.Notification.Builder builder()
Returns a mutable builder for constructing an instance of Notification.
The following fields are required:
.brand() .content() .name() .routing() .subscription() .tags() .id()
-
-
-
-