Pagination

Pagination information in list responses.

Properties

Name
Type
Description
Notes

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

[optional]

Methods

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