Paginate
public struct Paginate: Fn
Paginate retrieves a page from the set identified by resource. A valid set
is any set identifier or instance ref. Instance refs represent singleton sets
of themselves.
-
Declaration
Parameters
resourceResource that contains the set to be paginated.
beforeReturn the previous page of results before this cursor (exclusive).
afterReturn the next page of results after this cursor (inclusive).
tsIf passed, it returns the set at the specified point in time.
sizeMaximum number of results to return. Default
16.eventsIf true, return a page from the event history of the set. Default
false.sourcesIf true, include the source sets along with each element. Default
false.
Paginate Struct Reference