Package com.courier.models.journeys
Class JourneyTemplatePublishRequest
-
- All Implemented Interfaces:
public final class JourneyTemplatePublishRequestRequest body for publishing a journey-scoped notification template. Pass
versionto roll back to a prior version; omit to publish the current draft.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyTemplatePublishRequest.BuilderA builder for JourneyTemplatePublishRequest.
-
Method Summary
Modifier and Type Method Description final Optional<String>version()final JsonField<String>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final JourneyTemplatePublishRequest.BuildertoBuilder()final JourneyTemplatePublishRequestvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneyTemplatePublishRequest.Builderbuilder()Returns a mutable builder for constructing an instance of JourneyTemplatePublishRequest. -
-
Method Detail
-
_version
final JsonField<String> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyTemplatePublishRequest.Builder toBuilder()
-
validate
final JourneyTemplatePublishRequest 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 JourneyTemplatePublishRequest.Builder builder()
Returns a mutable builder for constructing an instance of JourneyTemplatePublishRequest.
-
-
-
-