ProtectedTask¶
Structure Class¶
ProtectedTask
dataclass
¶
Bases: _SerdeShape
An object representing the protection status details for a task. You can set the protection status with the UpdateTaskProtection API and get the status of tasks with the GetTaskProtection API.
Attributes¶
expiration_date
class-attribute
instance-attribute
¶
expiration_date: datetime | None = ...
The epoch time when protection for the task will expire.