Class JourneyDelayDurationNode
-
- All Implemented Interfaces:
public final class JourneyDelayDurationNodePause the journey run for a fixed
duration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyDelayDurationNode.BuilderA builder for JourneyDelayDurationNode.
public final classJourneyDelayDurationNode.Modepublic final classJourneyDelayDurationNode.Type
-
Method Summary
Modifier and Type Method Description final Stringduration()final JourneyDelayDurationNode.Modemode()final JourneyDelayDurationNode.Typetype()final Optional<String>id()final Optional<JourneyConditionsField>conditions()Condition spec for a journey node. final JsonField<String>_duration()Returns the raw JSON value of duration. final JsonField<JourneyDelayDurationNode.Mode>_mode()Returns the raw JSON value of mode. final JsonField<JourneyDelayDurationNode.Type>_type()Returns the raw JSON value of type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<JourneyConditionsField>_conditions()Returns the raw JSON value of conditions. final Map<String, JsonValue>_additionalProperties()final JourneyDelayDurationNode.BuildertoBuilder()final JourneyDelayDurationNodevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneyDelayDurationNode.Builderbuilder()Returns a mutable builder for constructing an instance of JourneyDelayDurationNode. -
-
Method Detail
-
mode
final JourneyDelayDurationNode.Mode mode()
-
type
final JourneyDelayDurationNode.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".
-
_duration
final JsonField<String> _duration()
Returns the raw JSON value of duration.
Unlike duration, this method doesn't throw if the JSON field has an unexpected type.
-
_mode
final JsonField<JourneyDelayDurationNode.Mode> _mode()
Returns the raw JSON value of mode.
Unlike mode, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<JourneyDelayDurationNode.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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyDelayDurationNode.Builder toBuilder()
-
validate
final JourneyDelayDurationNode 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 JourneyDelayDurationNode.Builder builder()
Returns a mutable builder for constructing an instance of JourneyDelayDurationNode.
The following fields are required:
.duration() .mode() .type()
-
-
-
-