GetTaskResult
data class GetTaskResult(val taskId: String, val status: TaskStatus, val statusMessage: String? = null, val createdAt: String, val lastUpdatedAt: String, val ttl: Long?, val pollInterval: Long? = null, val meta: JsonObject? = null) : ClientResult, ServerResult, TaskFields(source)
The response to a tasks/get request.
Contains all Task fields flattened into the result (intersection of Result and Task).
Constructors
Link copied to clipboard
constructor(taskId: String, status: TaskStatus, statusMessage: String? = null, createdAt: String, lastUpdatedAt: String, ttl: Long?, pollInterval: Long? = null, meta: JsonObject? = null)
Properties
Link copied to clipboard
ISO 8601 timestamp when the task was last updated.
Link copied to clipboard
Optional metadata for this response.
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.