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.