class

XIVAPI::Dataclasses::Page(T)

Inherits JSON::Serializable < Reference < Object

A class that represents a page of results from paginated endpoints. The Page class is a generic, so that we can use it for all kinds of endpoints.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

pagination

An Pagination class containing the pagination info for the request.

Source
results

An Array of classs for the results from the API. The Array will be of the classs of the generic type.

Source