Skip to content

Latest commit

 

History

History
196 lines (107 loc) · 5.04 KB

Pagination.md

File metadata and controls

196 lines (107 loc) · 5.04 KB

Pagination

Properties

Name Type Description Notes
First Pointer to Link [optional]
Last Pointer to Link [optional]
Next Pointer to Link [optional]
Previous Pointer to NullableListOrganizationQuotas200ResponsePaginationNext [optional]
TotalPages Pointer to int32 [optional]
TotalResults Pointer to int32 [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

GetFirst

func (o *Pagination) GetFirst() Link

GetFirst returns the First field if non-nil, zero value otherwise.

GetFirstOk

func (o *Pagination) GetFirstOk() (*Link, bool)

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

SetFirst

func (o *Pagination) SetFirst(v Link)

SetFirst sets First field to given value.

HasFirst

func (o *Pagination) HasFirst() bool

HasFirst returns a boolean if a field has been set.

GetLast

func (o *Pagination) GetLast() Link

GetLast returns the Last field if non-nil, zero value otherwise.

GetLastOk

func (o *Pagination) GetLastOk() (*Link, bool)

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

SetLast

func (o *Pagination) SetLast(v Link)

SetLast sets Last field to given value.

HasLast

func (o *Pagination) HasLast() bool

HasLast returns a boolean if a field has been set.

GetNext

func (o *Pagination) GetNext() Link

GetNext returns the Next field if non-nil, zero value otherwise.

GetNextOk

func (o *Pagination) GetNextOk() (*Link, bool)

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

SetNext

func (o *Pagination) SetNext(v Link)

SetNext sets Next field to given value.

HasNext

func (o *Pagination) HasNext() bool

HasNext returns a boolean if a field has been set.

GetPrevious

func (o *Pagination) GetPrevious() ListOrganizationQuotas200ResponsePaginationNext

GetPrevious returns the Previous field if non-nil, zero value otherwise.

GetPreviousOk

func (o *Pagination) GetPreviousOk() (*ListOrganizationQuotas200ResponsePaginationNext, bool)

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

SetPrevious

func (o *Pagination) SetPrevious(v ListOrganizationQuotas200ResponsePaginationNext)

SetPrevious sets Previous field to given value.

HasPrevious

func (o *Pagination) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

SetPreviousNil

func (o *Pagination) SetPreviousNil(b bool)

SetPreviousNil sets the value for Previous to be an explicit nil

UnsetPrevious

func (o *Pagination) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

GetTotalPages

func (o *Pagination) GetTotalPages() int32

GetTotalPages returns the TotalPages field if non-nil, zero value otherwise.

GetTotalPagesOk

func (o *Pagination) GetTotalPagesOk() (*int32, bool)

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

SetTotalPages

func (o *Pagination) SetTotalPages(v int32)

SetTotalPages sets TotalPages field to given value.

HasTotalPages

func (o *Pagination) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

GetTotalResults

func (o *Pagination) GetTotalResults() int32

GetTotalResults returns the TotalResults field if non-nil, zero value otherwise.

GetTotalResultsOk

func (o *Pagination) GetTotalResultsOk() (*int32, bool)

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

SetTotalResults

func (o *Pagination) SetTotalResults(v int32)

SetTotalResults sets TotalResults field to given value.

HasTotalResults

func (o *Pagination) HasTotalResults() bool

HasTotalResults returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]