ZyncAssetDetail

data class ZyncAssetDetail(val assetUid: String, val assetCode: String?, val assetName: String, val assetImage: String?, val assetStatus: ZyncAssetStatus?, val assetDescription: String?, val isActive: Boolean, val assetCategory: ZyncAssetCategory?, val assetLocation: ZyncAddress?, val billingAddress: ZyncAddress?, val ownedByCustomer: Boolean, val serialNumber: String?, val purchaseDate: String?, val purchasePrice: Double?, val residualPrice: Double?, val warrantyExpiryDate: String?, val placedInService: String?, val usefulLife: ZyncAssetUsefulLife?, val customerUid: String?, val customer: ZyncCustomer?, val propertyUid: String?, val property: ZyncProperty?, val organizationUid: String?, val organization: ZyncOrganization?, val parentAssetUid: String?, val parentAsset: ZyncParentAsset?, val createdByUid: String?, val createdBy: ZyncUser?, val parts: List<ZyncAssetPart>, val inspectionForm: ZyncAssetInspectionForm?, val product: ZyncAssetProduct?, val customFields: List<ZyncFormField>, val attachments: List<ZyncAttachment>, val createdAt: String?, val updatedAt: String?)

Constructors

Link copied to clipboard
constructor(assetUid: String, assetCode: String?, assetName: String, assetImage: String?, assetStatus: ZyncAssetStatus?, assetDescription: String?, isActive: Boolean, assetCategory: ZyncAssetCategory?, assetLocation: ZyncAddress?, billingAddress: ZyncAddress?, ownedByCustomer: Boolean, serialNumber: String?, purchaseDate: String?, purchasePrice: Double?, residualPrice: Double?, warrantyExpiryDate: String?, placedInService: String?, usefulLife: ZyncAssetUsefulLife?, customerUid: String?, customer: ZyncCustomer?, propertyUid: String?, property: ZyncProperty?, organizationUid: String?, organization: ZyncOrganization?, parentAssetUid: String?, parentAsset: ZyncParentAsset?, createdByUid: String?, createdBy: ZyncUser?, parts: List<ZyncAssetPart>, inspectionForm: ZyncAssetInspectionForm?, product: ZyncAssetProduct?, customFields: List<ZyncFormField>, attachments: List<ZyncAttachment>, createdAt: String?, updatedAt: String?)

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
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
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 asset 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)