ZyncUpdateNoteContent

data class ZyncUpdateNoteContent(val noteUid: String, val note: String?, val noteType: String, val noteVisibilityType: ZyncNoteVisibilityType, val attachments: List<ZyncNoteAttachment>?, val userMentions: List<String>?, val associatedJob: ZyncNoteAssociatedJob?, val associatedCustomer: ZyncNoteAssociatedCustomer?, val associatedOrganization: ZyncNoteAssociatedOrganization?, val associatedProperty: ZyncNoteAssociatedProperty?, val associatedAsset: ZyncNoteAssociatedAsset?, val associatedQuote: ZyncNoteAssociatedQuote?, val associatedInvoice: ZyncNoteAssociatedInvoice?, val associatedContract: ZyncNoteAssociatedContract?, val associatedRequest: ZyncNoteAssociatedRequest?, val associatedProject: ZyncNoteAssociatedProject?, val geoCoordinates: List<Double>?, val isV2Note: Boolean, val isPinned: Boolean)

Content model for updating an existing note with modified metadata and relationships.

This data class contains the note UID to identify the target note plus all the updatable properties including content, associations, and settings.

Parameters

noteUid

Unique identifier of the note to update.

note

Updated text content of the note. Can be null for non-text note types.

noteType

Updated note type (e.g., "TEXT", "AUDIO", "IMAGE", "VIDEO").

noteVisibilityType

Updated visibility level controlling who can see this note.

attachments

Updated list of file attachments associated with this note.

userMentions

Updated list of user UIDs mentioned in this note for notifications.

associatedJob

Updated job association details if this note is linked to a job.

associatedCustomer

Updated customer association details if this note is linked to a customer.

associatedOrganization

Updated organization association details if this note is linked to an organization.

associatedProperty

Updated property association details if this note is linked to a property.

associatedAsset

Updated asset association details if this note is linked to an asset.

associatedQuote

Updated quote/estimate association details if this note is linked to a quote.

associatedInvoice

Updated invoice association details if this note is linked to an invoice.

associatedContract

Updated contract association details if this note is linked to a contract.

associatedRequest

Updated service request association details if this note is linked to a request.

associatedProject

Updated project association details if this note is linked to a project.

geoCoordinates

Updated geographic coordinates latitude, longitude for the note.

isV2Note

Whether this is a version 2 note with enhanced features.

isPinned

Whether this note should be pinned for priority visibility.

Constructors

Link copied to clipboard
constructor(noteUid: String, note: String?, noteType: String, noteVisibilityType: ZyncNoteVisibilityType, attachments: List<ZyncNoteAttachment>?, userMentions: List<String>?, associatedJob: ZyncNoteAssociatedJob?, associatedCustomer: ZyncNoteAssociatedCustomer?, associatedOrganization: ZyncNoteAssociatedOrganization?, associatedProperty: ZyncNoteAssociatedProperty?, associatedAsset: ZyncNoteAssociatedAsset?, associatedQuote: ZyncNoteAssociatedQuote?, associatedInvoice: ZyncNoteAssociatedInvoice?, associatedContract: ZyncNoteAssociatedContract?, associatedRequest: ZyncNoteAssociatedRequest?, associatedProject: ZyncNoteAssociatedProject?, geoCoordinates: List<Double>?, isV2Note: Boolean, isPinned: Boolean)

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
val note: String?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard