Page

data class Page<T : Any>(val data: List<T>, val continuation: String?)

Represents a page of data, with a continuation token for pagination

Parameters

T

The type of data items

Constructors

Link copied to clipboard
constructor(data: List<T>, continuation: String?)

Properties

Link copied to clipboard

The next continuation token for pagination. If null, there are no more pages

Link copied to clipboard
val data: List<T>

The list of data items