Local Change
data class LocalChange(val resourceType: String, val resourceId: String, val versionId: String? = null, val timestamp: Instant, val type: LocalChange.Type, val payload: String, var token: LocalChangeToken)
Data class for squashed local changes for resource
Constructors
Link copied to clipboard
constructor(resourceType: String, resourceId: String, versionId: String? = null, timestamp: Instant, type: LocalChange.Type, payload: String, token: LocalChangeToken)
Properties
Link copied to clipboard
The resource id Resource.id
Link copied to clipboard
The ResourceType
Link copied to clipboard
This token value must be explicitly applied when list of local changes are squashed and LocalChange class instance is created.
Link copied to clipboard
Type of local change like insert, delete, etc