Class Activity
-
- All Implemented Interfaces:
public final class ActivityAn activity associated with a workflow trigger request. Messages produced after a /designing-workflows/batch-function can be associated with one or more activities. Non-batched messages will always be associated with a single activity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classActivity.BuilderA builder for Activity.
public final classActivity.DataThe workflow trigger
datapayload associated with the activity.
-
Method Summary
Modifier and Type Method Description final Optional<String>id()Unique identifier for the activity. final Optional<String>_typename()The typename of the schema. final Optional<Recipient>actor()A recipient of a notification, which is either a user or an object. final Optional<Activity.Data>data()The workflow trigger datapayload associated with the activity.final Optional<OffsetDateTime>insertedAt()Timestamp when the activity was created. final Optional<Recipient>recipient()A recipient of a notification, which is either a user or an object. final Optional<OffsetDateTime>updatedAt()Timestamp when the activity was last updated. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>__typename()Returns the raw JSON value of _typename. final JsonField<Recipient>_actor()Returns the raw JSON value of actor. final JsonField<Activity.Data>_data()Returns the raw JSON value of data. final JsonField<OffsetDateTime>_insertedAt()Returns the raw JSON value of insertedAt. final JsonField<Recipient>_recipient()Returns the raw JSON value of recipient. final JsonField<OffsetDateTime>_updatedAt()Returns the raw JSON value of updatedAt. final Map<String, JsonValue>_additionalProperties()final Activity.BuildertoBuilder()final Activityvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Activity.Builderbuilder()Returns a mutable builder for constructing an instance of Activity. -
-
Method Detail
-
actor
final Optional<Recipient> actor()
A recipient of a notification, which is either a user or an object.
-
data
final Optional<Activity.Data> data()
The workflow trigger
datapayload associated with the activity.
-
insertedAt
final Optional<OffsetDateTime> insertedAt()
Timestamp when the activity was created.
-
recipient
final Optional<Recipient> recipient()
A recipient of a notification, which is either a user or an object.
-
updatedAt
final Optional<OffsetDateTime> updatedAt()
Timestamp when the activity 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.
-
__typename
final JsonField<String> __typename()
Returns the raw JSON value of _typename.
Unlike _typename, this method doesn't throw if the JSON field has an unexpected type.
-
_actor
final JsonField<Recipient> _actor()
Returns the raw JSON value of actor.
Unlike actor, this method doesn't throw if the JSON field has an unexpected type.
-
_data
final JsonField<Activity.Data> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_insertedAt
final JsonField<OffsetDateTime> _insertedAt()
Returns the raw JSON value of insertedAt.
Unlike insertedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_recipient
final JsonField<Recipient> _recipient()
Returns the raw JSON value of recipient.
Unlike recipient, 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 Activity.Builder toBuilder()
-
builder
final static Activity.Builder builder()
Returns a mutable builder for constructing an instance of Activity.
-
-
-
-