Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PNDataSyncGetRelationshipsResult(val status: Int, val data: List<PNDataSyncRelationship>, val next: PNDataSyncPage)

Result of pubnub.dataSync.getRelationships.

Link copied to clipboard
data class PNDataSyncRelationship(val id: String, val entityAId: String, val entityBId: String, val className: String, val classVersion: Int, val createdAt: String, val updatedAt: String, val eTag: String, val expiresAt: String, val status: String? = null, val payload: Map<String, Any?>? = null)

DataSync Relationship resource returned by pubnub.dataSync.getRelationship, createRelationship and referenced by remove operations. A Relationship is a typed link between two entities (side A and side B) under an arbitrary relationship class, exposed under the generic two-end names entityAId / entityBId.

Link copied to clipboard
data class PNDataSyncRemoveRelationshipResult(val status: Int)
Link copied to clipboard
Link copied to clipboard