Class JourneyFetchPostPutNode
-
- All Implemented Interfaces:
public final class JourneyFetchPostPutNodeIssue an HTTP POST or PUT request with a
bodyand merge the response into the journey state permerge_strategy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyFetchPostPutNode.BuilderA builder for JourneyFetchPostPutNode.
public final classJourneyFetchPostPutNode.Methodpublic final classJourneyFetchPostPutNode.Typepublic final classJourneyFetchPostPutNode.Headerspublic final classJourneyFetchPostPutNode.QueryParamspublic final classJourneyFetchPostPutNode.ResponseSchemaA JSONSchema object (Draft-07-compatible). Validated at runtime by Ajv.
-
Method Summary
-
-
Method Detail
-
mergeStrategy
final JourneyMergeStrategy mergeStrategy()
Strategy for merging a fetch response into the journey run state.
-
method
final JourneyFetchPostPutNode.Method method()
-
type
final JourneyFetchPostPutNode.Type type()
-
conditions
final Optional<JourneyConditionsField> conditions()
Condition spec for a journey node. Accepts a single condition atom, an AND/OR group, or an AND/OR nested group. Omit the
conditionsproperty entirely to express "no conditions".
-
headers
final Optional<JourneyFetchPostPutNode.Headers> headers()
-
queryParams
final Optional<JourneyFetchPostPutNode.QueryParams> queryParams()
-
responseSchema
final Optional<JourneyFetchPostPutNode.ResponseSchema> responseSchema()
A JSONSchema object (Draft-07-compatible). Validated at runtime by Ajv.
-
_mergeStrategy
final JsonField<JourneyMergeStrategy> _mergeStrategy()
Returns the raw JSON value of mergeStrategy.
Unlike mergeStrategy, this method doesn't throw if the JSON field has an unexpected type.
-
_method
final JsonField<JourneyFetchPostPutNode.Method> _method()
Returns the raw JSON value of method.
Unlike method, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<JourneyFetchPostPutNode.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_body
final JsonField<String> _body()
Returns the raw JSON value of body.
Unlike body, this method doesn't throw if the JSON field has an unexpected type.
-
_conditions
final JsonField<JourneyConditionsField> _conditions()
Returns the raw JSON value of conditions.
Unlike conditions, this method doesn't throw if the JSON field has an unexpected type.
-
_headers
final JsonField<JourneyFetchPostPutNode.Headers> _headers()
Returns the raw JSON value of headers.
Unlike headers, this method doesn't throw if the JSON field has an unexpected type.
-
_queryParams
final JsonField<JourneyFetchPostPutNode.QueryParams> _queryParams()
Returns the raw JSON value of queryParams.
Unlike queryParams, this method doesn't throw if the JSON field has an unexpected type.
-
_responseSchema
final JsonField<JourneyFetchPostPutNode.ResponseSchema> _responseSchema()
Returns the raw JSON value of responseSchema.
Unlike responseSchema, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyFetchPostPutNode.Builder toBuilder()
-
validate
final JourneyFetchPostPutNode 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 JourneyFetchPostPutNode.Builder builder()
Returns a mutable builder for constructing an instance of JourneyFetchPostPutNode.
The following fields are required:
.mergeStrategy() .method() .type() .url()
-
-
-
-