class Giphy::Pagination

Included Modules

Defined in:

types/pagination.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def count : Int32 #

Total number of items returned.


[View source]
def count=(count : Int32) #

Total number of items returned.


[View source]
def offset : Int32 | Nil #

Position in pagination.


[View source]
def offset=(offset : Int32 | Nil) #

Position in pagination.


[View source]
def total_count : Int32 #

Total number of items available (not returned on every endpoint).


[View source]
def total_count=(total_count : Int32) #

Total number of items available (not returned on every endpoint).


[View source]