class XIVAPI::Dataclasses::Pagination

Overview

Dataclass for pagination data that is returned for paginated lists that come from certain API endpoints.

Included Modules

Defined in:

dataclasses/other/pagination.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def next_page : Int32 | Nil #

[View source]
def page : Int32 #

[View source]
def prev_page : Int32 | Nil #

[View source]
def results : Int32 #

[View source]
def results_per_page : Int32 #

[View source]
def total_pages : Int32 #

[View source]
def total_results : Int32 #

[View source]