TaskStatus

data class TaskStatus @JvmOverloads constructor(val state: String, val message: Message? = null, val timestamp: Instant? = null)(source)

Represents the status of a task at a specific point in time.

Constructors

Link copied to clipboard
constructor(state: String, message: Message? = null, timestamp: Instant? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "message")
val message: Message?

An optional, human-readable message providing more details about the current status.

Link copied to clipboard
@SerialName(value = "state")
val state: String

The current state of the task's lifecycle.

Link copied to clipboard
@SerialName(value = "timestamp")
val timestamp: Instant?

An ISO 8601 datetime string indicating when this status was recorded.