Class JourneyTemplateCreateRequest.Notification
-
- All Implemented Interfaces:
public final class JourneyTemplateCreateRequest.Notification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyTemplateCreateRequest.Notification.BuilderA builder for Notification.
public final classJourneyTemplateCreateRequest.Notification.Brandpublic final classJourneyTemplateCreateRequest.Notification.Contentpublic final classJourneyTemplateCreateRequest.Notification.Subscription
-
Method Summary
-
-
Method Detail
-
brand
final Optional<JourneyTemplateCreateRequest.Notification.Brand> brand()
-
content
final JourneyTemplateCreateRequest.Notification.Content content()
-
subscription
final Optional<JourneyTemplateCreateRequest.Notification.Subscription> subscription()
-
_brand
final JsonField<JourneyTemplateCreateRequest.Notification.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<JourneyTemplateCreateRequest.Notification.Content> _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.
-
_subscription
final JsonField<JourneyTemplateCreateRequest.Notification.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 JourneyTemplateCreateRequest.Notification.Builder toBuilder()
-
validate
final JourneyTemplateCreateRequest.Notification validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static JourneyTemplateCreateRequest.Notification.Builder builder()
Returns a mutable builder for constructing an instance of Notification.
The following fields are required:
.brand() .content() .name() .subscription() .tags()
-
-
-
-