JobStatusResponse

@Serializable
data class JobStatusResponse(val jobType: String, val organizationId: String? = null, val createdById: String? = null, val inputParams: Map<String, JsonElement> = emptyMap(), val metadata: Map<String, JsonElement>? = null, val id: String, val status: String, val progressPercent: Int = 0, val progressCurrent: Int = 0, val progressTotal: Int = 0, val progressMessage: String? = null, val createdAt: String? = null, val startedAt: String? = null, val completedAt: String? = null, val updatedAt: String? = null, val resultData: PickTicketResultData? = null, val errorDetails: Map<String, JsonElement>? = null)

Job status response from /api/jobs/{job_id}

Constructors

Link copied to clipboard
constructor(jobType: String, organizationId: String? = null, createdById: String? = null, inputParams: Map<String, JsonElement> = emptyMap(), metadata: Map<String, JsonElement>? = null, id: String, status: String, progressPercent: Int = 0, progressCurrent: Int = 0, progressTotal: Int = 0, progressMessage: String? = null, createdAt: String? = null, startedAt: String? = null, completedAt: String? = null, updatedAt: String? = null, resultData: PickTicketResultData? = null, errorDetails: Map<String, JsonElement>? = null)

Properties

Link copied to clipboard
@SerialName(value = "completed_at")
val completedAt: String?
Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: String?
Link copied to clipboard
@SerialName(value = "created_by_id")
val createdById: String?
Link copied to clipboard
@SerialName(value = "error_details")
val errorDetails: Map<String, JsonElement>?
Link copied to clipboard
@SerialName(value = "id")
val id: String
Link copied to clipboard
@SerialName(value = "input_params")
val inputParams: Map<String, JsonElement>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "job_type")
val jobType: String
Link copied to clipboard
@SerialName(value = "metadata")
val metadata: Map<String, JsonElement>?
Link copied to clipboard
@SerialName(value = "organization_id")
val organizationId: String?
Link copied to clipboard
@SerialName(value = "progress_current")
val progressCurrent: Int
Link copied to clipboard
@SerialName(value = "progress_message")
val progressMessage: String?
Link copied to clipboard
@SerialName(value = "progress_percent")
val progressPercent: Int
Link copied to clipboard
@SerialName(value = "progress_total")
val progressTotal: Int
Link copied to clipboard
@SerialName(value = "result_data")
val resultData: PickTicketResultData?
Link copied to clipboard
@SerialName(value = "started_at")
val startedAt: String?
Link copied to clipboard
@SerialName(value = "status")
val status: String
Link copied to clipboard
@SerialName(value = "updated_at")
val updatedAt: String?