PNDataSyncUser

data class PNDataSyncUser(val id: String, val className: String, val classVersion: Int, val classLevel: String? = null, val createdAt: String, val updatedAt: String, val eTag: String, val expiresAt: String, val status: String? = null, val payload: Map<String, Any?>? = null)

DataSync User resource returned by pubnub.dataSync.getUser, createUser and referenced by remove operations. A User is a specialized DataSync entity of class User.

Constructors

Link copied to clipboard
constructor(id: String, className: String, classVersion: Int, classLevel: String? = null, createdAt: String, updatedAt: String, eTag: String, expiresAt: String, status: String? = null, payload: Map<String, Any?>? = null)

Properties

Link copied to clipboard

The level at which the entity class is defined (e.g. SubKey / Global). Modeled as a nullable String rather than an enum to stay source-compatible with future values.

Link copied to clipboard

Entity class identifier (a User subclass, defaults to User).

Link copied to clipboard

Version of the entity class.

Link copied to clipboard

Date and time the user was created.

Link copied to clipboard

The user's content fingerprint used in conditional requests.

Link copied to clipboard

Date and time when the user expires (will be deleted automatically). Always present — server-computed from the entity class TTL and never client-settable.

Link copied to clipboard
val id: String

User identifier.

Link copied to clipboard

Arbitrary user-defined JSON object.

Link copied to clipboard

User status.

Link copied to clipboard

Date and time the user was last updated.