Class JourneyResponse
-
- All Implemented Interfaces:
public final class JourneyResponseA journey, with its current draft or published nodes and metadata.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyResponse.BuilderA builder for JourneyResponse.
-
Method Summary
Modifier and Type Method Description final Stringid()final Optional<Long>created()final Optional<String>creator()final Booleanenabled()final Stringname()final List<JourneyNode>nodes()final Optional<Long>published()final JourneyStatestate()Lifecycle state of a journey. final Optional<Long>updated()final Optional<String>updater()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_created()Returns the raw JSON value of created. final JsonField<String>_creator()Returns the raw JSON value of creator. final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<List<JourneyNode>>_nodes()Returns the raw JSON value of nodes. final JsonField<Long>_published()Returns the raw JSON value of published. final JsonField<JourneyState>_state()Returns the raw JSON value of state. final JsonField<Long>_updated()Returns the raw JSON value of updated. final JsonField<String>_updater()Returns the raw JSON value of updater. final Map<String, JsonValue>_additionalProperties()final JourneyResponse.BuildertoBuilder()final JourneyResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneyResponse.Builderbuilder()Returns a mutable builder for constructing an instance of JourneyResponse. -
-
Method Detail
-
nodes
final List<JourneyNode> nodes()
-
state
final JourneyState state()
Lifecycle state of a journey.
-
_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.
-
_created
final JsonField<Long> _created()
Returns the raw JSON value of created.
Unlike created, this method doesn't throw if the JSON field has an unexpected type.
-
_creator
final JsonField<String> _creator()
Returns the raw JSON value of creator.
Unlike creator, this method doesn't throw if the JSON field has an unexpected type.
-
_enabled
final JsonField<Boolean> _enabled()
Returns the raw JSON value of enabled.
Unlike enabled, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, 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.
-
_published
final JsonField<Long> _published()
Returns the raw JSON value of published.
Unlike published, this method doesn't throw if the JSON field has an unexpected type.
-
_state
final JsonField<JourneyState> _state()
Returns the raw JSON value of state.
Unlike state, this method doesn't throw if the JSON field has an unexpected type.
-
_updated
final JsonField<Long> _updated()
Returns the raw JSON value of updated.
Unlike updated, this method doesn't throw if the JSON field has an unexpected type.
-
_updater
final JsonField<String> _updater()
Returns the raw JSON value of updater.
Unlike updater, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyResponse.Builder toBuilder()
-
validate
final JourneyResponse 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 JourneyResponse.Builder builder()
Returns a mutable builder for constructing an instance of JourneyResponse.
The following fields are required:
.id() .created() .creator() .enabled() .name() .nodes() .published() .state() .updated() .updater()
-
-
-
-