ActivityTaskScheduledEventAttributes class

Provides the details of the ActivityTaskScheduled event.

Constructors

ActivityTaskScheduledEventAttributes({required String activityId, required ActivityType activityType, required int decisionTaskCompletedEventId, required TaskList taskList, String? control, String? heartbeatTimeout, String? input, String? scheduleToCloseTimeout, String? scheduleToStartTimeout, String? startToCloseTimeout, String? taskPriority})
ActivityTaskScheduledEventAttributes.fromJson(Map<String, dynamic> json)
factory

Properties

activityId String
The unique ID of the activity task.
final
activityType ActivityType
The type of the activity task.
final
control String?
Data attached to the event that can be used by the decider in subsequent workflow tasks. This data isn't sent to the activity.
final
decisionTaskCompletedEventId int
The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
final
hashCode int
The hash code for this object.
no setterinherited
heartbeatTimeout String?
The maximum time before which the worker processing this task must report progress by calling RecordActivityTaskHeartbeat. If the timeout is exceeded, the activity task is automatically timed out. If the worker subsequently attempts to record a heartbeat or return a result, it is ignored.
final
input String?
The input provided to the activity task.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheduleToCloseTimeout String?
The maximum amount of time for this activity task.
final
scheduleToStartTimeout String?
The maximum amount of time the activity task can wait to be assigned to a worker.
final
startToCloseTimeout String?
The maximum amount of time a worker may take to process the activity task.
final
taskList TaskList
The task list in which the activity task has been scheduled.
final
taskPriority String?
The priority to assign to the scheduled activity task. If set, this overrides any default priority value that was assigned when the activity type was registered.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited