PNDataSyncPage

data class PNDataSyncPage(val cursor: String? = null, val hasNext: Boolean = false, val limit: Int? = null)

Cursor-based pagination metadata returned by DataSync list endpoints (e.g. com.pubnub.api.datasync.DataSync.getChannels).

Constructors

Link copied to clipboard
constructor(cursor: String? = null, hasNext: Boolean = false, limit: Int? = null)

Properties

Link copied to clipboard

Opaque cursor for the next page, or null when there are no more results. Pass it back as the cursor argument to fetch the next page.

Link copied to clipboard

Whether there are more results after this page. This — not a null cursor — is the authoritative "no more pages" signal.

Link copied to clipboard
val limit: Int?

The limit applied to this page (may differ from the requested limit).