TaskStatusNotificationParams
data class TaskStatusNotificationParams(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) : NotificationParams, TaskFields(source)
Parameters for a notifications/tasks/status notification.
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 notification.
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.