Task
data class Task(val taskId: String, val status: TaskStatus, val statusMessage: String? = null, val createdAt: String, val lastUpdatedAt: String, val ttl: Long?, val pollInterval: Long? = null) : TaskFields(source)
Data associated with a task.
Constructors
Properties
Link copied to clipboard
ISO 8601 timestamp when the task was last updated.
Link copied to clipboard
Suggested polling interval in milliseconds.
Link copied to clipboard
Current task state.
Link copied to clipboard
Optional human-readable message describing the current task state. This can provide context for any status, including reasons for "cancelled" status, summaries for "completed" status, or diagnostic information for "failed" status.