Page

class Page<T>

Represents a paginated result of a listing.

No public call hands you one: lists reach you as a PaginatedResource, which does the paging for you.

Parameters

items

the list of items returned for the current page

nextPageToken

a token to retrieve the next page, or null if this is the last page

Properties

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

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Structural: equal when every property is equal.

Link copied to clipboard
open override fun hashCode(): Int

Consistent with equals.

Link copied to clipboard
open override fun toString(): String

Every property, for logs and crash reports.