Pagination

Properties

NameTypeDescriptionNotes

Limit

int32

The maximum number of elements to return (used together with pagination.token for pagination)

Token

string

An opaque token used to iterate the set of results (used together with limit for pagination)

Methods

NewPagination

func NewPagination(limit int32, token string, ) *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

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.

GetToken

func (o *Pagination) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *Pagination) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetToken

func (o *Pagination) SetToken(v string)

SetToken sets Token field to given value.

Last updated