Zync Operation Update
data class ZyncOperationUpdate(val uploadId: Int, val entityUid: String, val entity: ZyncEntityType, val action: ZyncActionType, val status: ZyncUploadStatus, val createdAt: String, val progress: Double? = null, val isFileOperation: Boolean = false, val errorMessage: String? = null)
Lightweight update event for real-time operation status changes.
This model is designed for efficient streaming of status updates without the overhead of full ZyncPendingUpload objects. Clients can use this to update their UI in real-time.
Constructors
Link copied to clipboard
constructor(uploadId: Int, entityUid: String, entity: ZyncEntityType, action: ZyncActionType, status: ZyncUploadStatus, createdAt: String, progress: Double? = null, isFileOperation: Boolean = false, errorMessage: String? = null)
Properties
Link copied to clipboard
Specific action being performed on the entity.
Link copied to clipboard
Type of entity being operated on.
Link copied to clipboard
Error message if the operation failed. Null if the operation has not failed or is still in progress.
Link copied to clipboard
Whether this operation involves actual file upload. True for CREATE_ATTACHMENT and UPDATE_ATTACHMENT_FILE operations. False for metadata operations like rename, description updates, etc.
Link copied to clipboard
Current status of the operation.