PNDataSyncGetRelationshipsResult

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

Result of pubnub.dataSync.getRelationships.

DataSync list endpoints are cursor-based.

Constructors

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

Properties

Link copied to clipboard

The relationships on this page.

Link copied to clipboard

Cursor-based pagination metadata. Always present (an empty page when the server sends no meta); read PNDataSyncPage.hasNext to detect the last page, never next == null.

Link copied to clipboard
val status: Int

HTTP status code of the response.