Page

data class Page<T>(val items: List<T>, val hasMore: Boolean, val nextCursor: String?)

One page of a paginated Carbone listing.

Constructors

Link copied to clipboard
constructor(items: List<T>, hasMore: Boolean, nextCursor: String?)

Properties

Link copied to clipboard

true if a further page can be fetched using nextCursor.

Link copied to clipboard
val items: List<T>
Link copied to clipboard

Cursor for the next page; null when hasMore is false.