TaskFields

sealed interface TaskFields(source)

Common fields shared by all types representing the task state.

Inheritors

Properties

Link copied to clipboard
abstract val createdAt: String

ISO 8601 timestamp when the task was created

Link copied to clipboard
abstract val lastUpdatedAt: String

ISO 8601 timestamp when the task was last updated

Link copied to clipboard
abstract val pollInterval: Long?

suggested polling interval in milliseconds

Link copied to clipboard
abstract val status: TaskStatus

current task state

Link copied to clipboard
abstract val statusMessage: String?

optional human-readable message describing the current task state

Link copied to clipboard
abstract val taskId: String

the task identifier

Link copied to clipboard
abstract val ttl: Long?

actual retention duration from creation in milliseconds, or null for unlimited