PNDataSyncMembershipData

data class PNDataSyncMembershipData(val id: String, val channelId: String, val userId: String, val createdAt: String, val updatedAt: String, val eTag: String, val expiresAt: String, val status: String? = null, val payload: Map<String, Any?>? = null)

Full snapshot of a DataSync Membership at the time of a create/update event. A Membership links a Channel (channelId, the A endpoint) and a User (userId, the B endpoint). See PNDataSyncUserData for the shared fields.

Constructors

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

Properties

Link copied to clipboard

identifier of the Channel (A endpoint).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

identifier of the User (B endpoint).