Package com.courier.models.journeys
Class JourneyTemplateCreateRequest.Notification.Content
-
- All Implemented Interfaces:
public final class JourneyTemplateCreateRequest.Notification.Content
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyTemplateCreateRequest.Notification.Content.BuilderA builder for Content.
public final classJourneyTemplateCreateRequest.Notification.Content.Versionpublic final classJourneyTemplateCreateRequest.Notification.Content.Scope
-
Method Summary
-
-
Method Detail
-
elements
final List<ElementalNode> elements()
-
version
final JourneyTemplateCreateRequest.Notification.Content.Version version()
-
scope
final Optional<JourneyTemplateCreateRequest.Notification.Content.Scope> scope()
-
_elements
final JsonField<List<ElementalNode>> _elements()
Returns the raw JSON value of elements.
Unlike elements, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<JourneyTemplateCreateRequest.Notification.Content.Version> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_scope
final JsonField<JourneyTemplateCreateRequest.Notification.Content.Scope> _scope()
Returns the raw JSON value of scope.
Unlike scope, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyTemplateCreateRequest.Notification.Content.Builder toBuilder()
-
validate
final JourneyTemplateCreateRequest.Notification.Content 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.Content.Builder builder()
Returns a mutable builder for constructing an instance of Content.
The following fields are required:
.elements() .version()
-
-
-
-