Pagination
Properties
Offset
int32
The offset specified in the request (if none was specified, the default offset is 0).
[readonly]
Limit
int32
The limit specified in the request (if none was specified, use the endpoint's default pagination limit).
[readonly]
Methods
NewPagination
func NewPagination(offset int32, limit int32, links Links, ) *Pagination
NewPagination instantiates a new Pagination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewPaginationWithDefaults
func NewPaginationWithDefaults() *Pagination
NewPaginationWithDefaults instantiates a new Pagination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetOffset
func (o *Pagination) GetOffset() int32
GetOffset returns the Offset field if non-nil, zero value otherwise.
GetOffsetOk
func (o *Pagination) GetOffsetOk() (*int32, bool)
GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOffset
func (o *Pagination) SetOffset(v int32)
SetOffset sets Offset field to given value.
GetLimit
func (o *Pagination) GetLimit() int32
GetLimit returns the Limit field if non-nil, zero value otherwise.
GetLimitOk
func (o *Pagination) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLimit
func (o *Pagination) SetLimit(v int32)
SetLimit sets Limit field to given value.
GetLinks
func (o *Pagination) GetLinks() Links
GetLinks returns the Links field if non-nil, zero value otherwise.
GetLinksOk
func (o *Pagination) GetLinksOk() (*Links, bool)
GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLinks
func (o *Pagination) SetLinks(v Links)
SetLinks sets Links field to given value.
Last updated