Class JourneyApiInvokeTriggerNode
-
- All Implemented Interfaces:
public final class JourneyApiInvokeTriggerNodeTrigger fired when the journey is invoked via the API. The optional
schemafield is a JSON Schema that validates the invocation payload.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyApiInvokeTriggerNode.BuilderA builder for JourneyApiInvokeTriggerNode.
public final classJourneyApiInvokeTriggerNode.TriggerTypepublic final classJourneyApiInvokeTriggerNode.Typepublic final classJourneyApiInvokeTriggerNode.SchemaA JSONSchema object (Draft-07-compatible). Validated at runtime by Ajv.
-
Method Summary
-
-
Method Detail
-
triggerType
final JourneyApiInvokeTriggerNode.TriggerType triggerType()
-
type
final JourneyApiInvokeTriggerNode.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".
-
schema
final Optional<JourneyApiInvokeTriggerNode.Schema> schema()
A JSONSchema object (Draft-07-compatible). Validated at runtime by Ajv.
-
_triggerType
final JsonField<JourneyApiInvokeTriggerNode.TriggerType> _triggerType()
Returns the raw JSON value of triggerType.
Unlike triggerType, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<JourneyApiInvokeTriggerNode.Type> _type()
Returns the raw JSON value of type.
Unlike type, 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.
-
_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.
-
_schema
final JsonField<JourneyApiInvokeTriggerNode.Schema> _schema()
Returns the raw JSON value of schema.
Unlike schema, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyApiInvokeTriggerNode.Builder toBuilder()
-
validate
final JourneyApiInvokeTriggerNode 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 JourneyApiInvokeTriggerNode.Builder builder()
Returns a mutable builder for constructing an instance of JourneyApiInvokeTriggerNode.
The following fields are required:
.triggerType() .type()
-
-
-
-