Creates an instance of the Task class.
The unique identifier for the task.
The ID of the plan this task belongs to.
A partition key for sharding or distribution.
The status of the task (e.g., CREATED, PROCESSING, SUCCESS).
The timestamp when the task was created.
Optionalexecuted_at: numberThe timestamp when the task was executed. Optional.
Optionalnext_execution_at: numberThe timestamp for the next task execution. Optional.
The timestamp (in milliseconds) when the task was created.
Optionalexecuted_The timestamp (in milliseconds) when the task was executed. Optional.
The unique identifier for the task.
Optionalnext_The timestamp (in milliseconds) when the task is scheduled to be executed next. Optional.
A partition key for sharding or distribution.
The ID of the plan this task belongs to.
The status of the task (e.g., CREATED, PROCESSING, SUCCESS).
Represents a task in a plan. A task is associated with a plan and can have various statuses, execution times, and retries.