ZyncServiceTaskStatusUpdateData

data class ZyncServiceTaskStatusUpdateData(val jobUid: String, val serviceTaskUid: String, val serviceTaskStatus: ZyncServiceTaskStatus, val remarks: String? = null, val assignToTask: Boolean = false, val assignToJob: Boolean = false, val assignFromTeam: String? = null)

Content model for updating service task status with offline-first support.

This class contains all the data needed to update a service task's status, including optional remarks and assignment logic. The update is immediately saved to local storage and queued for server synchronization, ensuring offline-first behavior.

Parameters

serviceTaskUid

Unique identifier of the service task to update.

serviceTaskStatus

Status to set for the service task.

remarks

Optional remarks for the status update.

assignToTask

Whether to assign the current user to the service task.

assignToJob

Whether to assign the current user to the job.

assignFromTeam

Team UID to assign from, or null to use current user's team.

Constructors

Link copied to clipboard
constructor(jobUid: String, serviceTaskUid: String, serviceTaskStatus: ZyncServiceTaskStatus, remarks: String? = null, assignToTask: Boolean = false, assignToJob: Boolean = false, assignFromTeam: String? = null)

Properties

Link copied to clipboard
val assignFromTeam: String? = null
Link copied to clipboard
val assignToJob: Boolean = false
Link copied to clipboard
val assignToTask: Boolean = false
Link copied to clipboard
Link copied to clipboard
val remarks: String? = null
Link copied to clipboard