ZyncAttachment

data class ZyncAttachment(val attachmentUid: String, val attachmentSize: Long, val attachmentUri: String, val attachmentUriLocal: String?, val attachmentName: String?, val attachmentDescription: String?, val type: ZyncAttachmentType?, val module: ZuperModule?, val moduleUid: String?, val fileHash: String?, val createdBy: String?, val createdByUser: ZyncCreatedByUser?, val mimeType: String?, val thumbnailUrl: String?, val createdAt: String, val updatedAt: String, val isDeleted: Boolean, val tags: List<ZyncTag>, val uploadStatus: ZyncUploadStatus?, val isEditable: Boolean, val latitude: Double?, val longitude: Double?) : Keyed<String>

Constructors

Link copied to clipboard
constructor(attachmentUid: String, attachmentSize: Long, attachmentUri: String, attachmentUriLocal: String?, attachmentName: String?, attachmentDescription: String?, type: ZyncAttachmentType?, module: ZuperModule?, moduleUid: String?, fileHash: String?, createdBy: String?, createdByUser: ZyncCreatedByUser?, mimeType: String?, thumbnailUrl: String?, createdAt: String, updatedAt: String, isDeleted: Boolean, tags: List<ZyncTag>, uploadStatus: ZyncUploadStatus?, isEditable: Boolean, latitude: Double?, longitude: Double?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val key: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Custom equals that excludes timestamp fields to prevent false positives. Only meaningful attachment data is compared, not metadata timestamps.

Link copied to clipboard
open override fun hashCode(): Int

Custom hashCode that matches the equals implementation (excludes createdAt and updatedAt timestamps)