Page

data class Page<T>(val contents: T, val nextPage: PageInfo?, val previousPage: PageInfo?)

A page of results from the API.

To get the next or previous page, see nextPage and previousPage.

Constructors

Link copied to clipboard
constructor(contents: T, nextPage: PageInfo?, previousPage: PageInfo?)

Properties

Link copied to clipboard
val contents: T

The page contents.

Link copied to clipboard

An object that can be passed to the calling API to get the next page of contents.

Link copied to clipboard

An object that can be passed to the calling API to get the previous page of contents.