Class JourneyNode.JourneyBranchNode.Path
-
- All Implemented Interfaces:
public final class JourneyNode.JourneyBranchNode.Path
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyNode.JourneyBranchNode.Path.BuilderA builder for Path.
-
Method Summary
Modifier and Type Method Description final JourneyConditionsFieldconditions()Condition spec for a journey node. final List<JourneyNode>nodes()final Optional<String>label()final JsonField<JourneyConditionsField>_conditions()Returns the raw JSON value of conditions. final JsonField<List<JourneyNode>>_nodes()Returns the raw JSON value of nodes. final JsonField<String>_label()Returns the raw JSON value of label. final Map<String, JsonValue>_additionalProperties()final JourneyNode.JourneyBranchNode.Path.BuildertoBuilder()final JourneyNode.JourneyBranchNode.Pathvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneyNode.JourneyBranchNode.Path.Builderbuilder()Returns a mutable builder for constructing an instance of Path. -
-
Method Detail
-
conditions
final 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".
-
nodes
final List<JourneyNode> nodes()
-
_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.
-
_nodes
final JsonField<List<JourneyNode>> _nodes()
Returns the raw JSON value of nodes.
Unlike nodes, this method doesn't throw if the JSON field has an unexpected type.
-
_label
final JsonField<String> _label()
Returns the raw JSON value of label.
Unlike label, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyNode.JourneyBranchNode.Path.Builder toBuilder()
-
validate
final JourneyNode.JourneyBranchNode.Path 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 JourneyNode.JourneyBranchNode.Path.Builder builder()
Returns a mutable builder for constructing an instance of Path.
The following fields are required:
.conditions() .nodes()
-
-
-
-