Class JourneyTemplateCreateRequest
-
- All Implemented Interfaces:
public final class JourneyTemplateCreateRequestRequest body for creating a notification template scoped to a journey.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyTemplateCreateRequest.BuilderA builder for JourneyTemplateCreateRequest.
public final classJourneyTemplateCreateRequest.Notification
-
Method Summary
-
-
Method Detail
-
notification
final JourneyTemplateCreateRequest.Notification notification()
-
providerKey
final Optional<String> providerKey()
-
_channel
final JsonField<String> _channel()
Returns the raw JSON value of channel.
Unlike channel, this method doesn't throw if the JSON field has an unexpected type.
-
_notification
final JsonField<JourneyTemplateCreateRequest.Notification> _notification()
Returns the raw JSON value of notification.
Unlike notification, this method doesn't throw if the JSON field has an unexpected type.
-
_providerKey
final JsonField<String> _providerKey()
Returns the raw JSON value of providerKey.
Unlike providerKey, this method doesn't throw if the JSON field has an unexpected type.
-
_state
final JsonField<String> _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 JourneyTemplateCreateRequest.Builder toBuilder()
-
validate
final JourneyTemplateCreateRequest 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.Builder builder()
Returns a mutable builder for constructing an instance of JourneyTemplateCreateRequest.
The following fields are required:
.channel() .notification()
-
-
-
-