Package com.courier.models.journeys
Class JourneyExitNode
-
- All Implemented Interfaces:
public final class JourneyExitNodeTerminate the journey run.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyExitNode.BuilderA builder for JourneyExitNode.
public final classJourneyExitNode.Type
-
Method Summary
Modifier and Type Method Description final JourneyExitNode.Typetype()final Optional<String>id()final JsonField<JourneyExitNode.Type>_type()Returns the raw JSON value of type. final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final JourneyExitNode.BuildertoBuilder()final JourneyExitNodevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneyExitNode.Builderbuilder()Returns a mutable builder for constructing an instance of JourneyExitNode. -
-
Method Detail
-
type
final JourneyExitNode.Type type()
-
_type
final JsonField<JourneyExitNode.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 JourneyExitNode.Builder toBuilder()
-
validate
final JourneyExitNode 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 JourneyExitNode.Builder builder()
Returns a mutable builder for constructing an instance of JourneyExitNode.
The following fields are required:
.type()
-
-
-
-