Class Journey
-
- All Implemented Interfaces:
public final class JourneyA journey template representing an automation workflow.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourney.BuilderA builder for Journey.
public final classJourney.VersionThe version of the journey (published or draft).
-
Method Summary
Modifier and Type Method Description final Stringid()The unique identifier of the journey. final Stringname()The name of the journey. final Journey.Versionversion()The version of the journey (published or draft). final Optional<OffsetDateTime>createdAt()ISO 8601 timestamp when the journey was created. final Optional<OffsetDateTime>updatedAt()ISO 8601 timestamp when the journey was last updated. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<Journey.Version>_version()Returns the raw JSON value of version. final JsonField<OffsetDateTime>_createdAt()Returns the raw JSON value of createdAt. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final Map<String, JsonValue>_additionalProperties()final Journey.BuildertoBuilder()final Journeyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Journey.Builderbuilder()Returns a mutable builder for constructing an instance of Journey. -
-
Method Detail
-
version
final Journey.Version version()
The version of the journey (published or draft).
-
createdAt
final Optional<OffsetDateTime> createdAt()
ISO 8601 timestamp when the journey was created.
-
updatedAt
final Optional<OffsetDateTime> updatedAt()
ISO 8601 timestamp when the journey was last updated.
-
_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.
-
_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.
-
_version
final JsonField<Journey.Version> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_createdAt
final JsonField<OffsetDateTime> _createdAt()
Returns the raw JSON value of createdAt.
Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type.
-
_updatedAt
final JsonField<OffsetDateTime> _updatedAt()
Returns the raw JSON value of updatedAt.
Unlike updatedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Journey.Builder toBuilder()
-
builder
final static Journey.Builder builder()
Returns a mutable builder for constructing an instance of Journey.
The following fields are required:
.id() .name() .version()
-
-
-
-