ZyncPendingUpload

data class ZyncPendingUpload(val uploadId: Int, val action: ZyncActionType, val entity: ZyncEntityType, val entityUid: String, val status: ZyncUploadStatus, val progress: Double? = null, val errorMessage: String? = null, val createdAt: Long, val relatedUploads: List<ZyncPendingUpload> = emptyList())

Detailed information about a pending upload operation.

Constructors

Link copied to clipboard
constructor(uploadId: Int, action: ZyncActionType, entity: ZyncEntityType, entityUid: String, status: ZyncUploadStatus, progress: Double? = null, errorMessage: String? = null, createdAt: Long, relatedUploads: List<ZyncPendingUpload> = emptyList())

Properties

Link copied to clipboard

Specific action being performed on the entity.

Link copied to clipboard

Timestamp when the operation was created (in milliseconds).

Link copied to clipboard

Type of entity being operated on.

Link copied to clipboard

Unique identifier of the entity being operated on.

Link copied to clipboard
val errorMessage: String? = null

Error message if the operation failed. Null if the operation has not failed or is still in progress.

Link copied to clipboard
val progress: Double? = null

Upload progress as a value between 0.0 and 1.0. Null if progress is not available or not applicable.

Link copied to clipboard

List of related upload operations grouped under this operation. Only populated for non-attachment operations that have related uploads.

Link copied to clipboard

Current status of the operation.

Link copied to clipboard

Unique identifier for this upload operation.