Class JourneyReplaceParams
-
- All Implemented Interfaces:
-
com.courier.core.Params
public final class JourneyReplaceParams implements Params
Replace the journey draft. Updates the working draft only; call
POST /journeys/{templateId}/publishto make it live, or passstate: "PUBLISHED"in this request to publish immediately. Send-nodetemplateids must already exist and be scoped to this journey, and node ids must not be claimed by another journey.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyReplaceParams.BuilderA builder for JourneyReplaceParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>templateId()final CreateJourneyRequestcreateJourneyRequest()Request body for creating a journey. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final JourneyReplaceParams.BuildertoBuilder()final CreateJourneyRequest_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneyReplaceParams.Builderbuilder()Returns a mutable builder for constructing an instance of JourneyReplaceParams. -
-
Method Detail
-
templateId
final Optional<String> templateId()
-
createJourneyRequest
final CreateJourneyRequest createJourneyRequest()
Request body for creating a journey.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final JourneyReplaceParams.Builder toBuilder()
-
_body
final CreateJourneyRequest _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static JourneyReplaceParams.Builder builder()
Returns a mutable builder for constructing an instance of JourneyReplaceParams.
The following fields are required:
.createJourneyRequest()
-
-
-
-