Package com.courier.models.journeys
Class JourneyTemplateReplaceRequest
-
- All Implemented Interfaces:
public final class JourneyTemplateReplaceRequestRequest body for replacing a journey-scoped notification template draft.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyTemplateReplaceRequest.BuilderA builder for JourneyTemplateReplaceRequest.
public final classJourneyTemplateReplaceRequest.Notification
-
Method Summary
Modifier and Type Method Description final JourneyTemplateReplaceRequest.Notificationnotification()final Optional<String>state()final JsonField<JourneyTemplateReplaceRequest.Notification>_notification()Returns the raw JSON value of notification. final JsonField<String>_state()Returns the raw JSON value of state. final Map<String, JsonValue>_additionalProperties()final JourneyTemplateReplaceRequest.BuildertoBuilder()final JourneyTemplateReplaceRequestvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneyTemplateReplaceRequest.Builderbuilder()Returns a mutable builder for constructing an instance of JourneyTemplateReplaceRequest. -
-
Method Detail
-
notification
final JourneyTemplateReplaceRequest.Notification notification()
-
_notification
final JsonField<JourneyTemplateReplaceRequest.Notification> _notification()
Returns the raw JSON value of notification.
Unlike notification, 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 JourneyTemplateReplaceRequest.Builder toBuilder()
-
validate
final JourneyTemplateReplaceRequest 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 JourneyTemplateReplaceRequest.Builder builder()
Returns a mutable builder for constructing an instance of JourneyTemplateReplaceRequest.
The following fields are required:
.notification()
-
-
-
-