Class JourneyNode.JourneyBranchNode
-
- All Implemented Interfaces:
public final class JourneyNode.JourneyBranchNodeBranch node. Routes to the first entry in
paths[]whoseconditionsmatch, else falls through todefault.nodes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyNode.JourneyBranchNode.BuilderA builder for JourneyBranchNode.
public final classJourneyNode.JourneyBranchNode.Defaultpublic final classJourneyNode.JourneyBranchNode.Pathpublic final classJourneyNode.JourneyBranchNode.Type
-
Method Summary
-
-
Method Detail
-
default_
final JourneyNode.JourneyBranchNode.Default default_()
-
paths
final List<JourneyNode.JourneyBranchNode.Path> paths()
-
type
final JourneyNode.JourneyBranchNode.Type type()
-
_default_
final JsonField<JourneyNode.JourneyBranchNode.Default> _default_()
Returns the raw JSON value of default_.
Unlike default_, this method doesn't throw if the JSON field has an unexpected type.
-
_paths
final JsonField<List<JourneyNode.JourneyBranchNode.Path>> _paths()
Returns the raw JSON value of paths.
Unlike paths, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<JourneyNode.JourneyBranchNode.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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyNode.JourneyBranchNode.Builder toBuilder()
-
validate
final JourneyNode.JourneyBranchNode 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.Builder builder()
Returns a mutable builder for constructing an instance of JourneyBranchNode.
The following fields are required:
.default_() .paths() .type()
-
-
-
-