Pagination

Properties

NameTypeDescriptionNotes

Offset

Pointer to int32

The offset specified in the request (if none was specified, the default offset is 0).

[optional] [default to 0]

Limit

Pointer to int32

The limit specified in the request (if none was specified, the default limit is 100).

[optional] [default to 100]

Links

Pointer to PaginationLinks

[optional]

Methods

NewPagination

func NewPagination() *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.

HasOffset

func (o *Pagination) HasOffset() bool

HasOffset returns a boolean if a field has been set.

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.

HasLimit

func (o *Pagination) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *Pagination) GetLinks() PaginationLinks

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *Pagination) GetLinksOk() (*PaginationLinks, 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.

func (o *Pagination) SetLinks(v PaginationLinks)

SetLinks sets Links field to given value.

func (o *Pagination) HasLinks() bool

HasLinks returns a boolean if a field has been set.

Last updated