Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 2.87 KB

File metadata and controls

114 lines (61 loc) · 2.87 KB

Paging

Properties

Name Type Description Notes
Page int32 Current page
PerPage int32 Size of the current page
PageCount int32 Total number of pages available
TotalCount int32 Total number of resources available

Methods

NewPaging

func NewPaging(page int32, perPage int32, pageCount int32, totalCount int32, ) *Paging

NewPaging instantiates a new Paging 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

NewPagingWithDefaults

func NewPagingWithDefaults() *Paging

NewPagingWithDefaults instantiates a new Paging 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

GetPage

func (o *Paging) GetPage() int32

GetPage returns the Page field if non-nil, zero value otherwise.

GetPageOk

func (o *Paging) GetPageOk() (*int32, bool)

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

SetPage

func (o *Paging) SetPage(v int32)

SetPage sets Page field to given value.

GetPerPage

func (o *Paging) GetPerPage() int32

GetPerPage returns the PerPage field if non-nil, zero value otherwise.

GetPerPageOk

func (o *Paging) GetPerPageOk() (*int32, bool)

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

SetPerPage

func (o *Paging) SetPerPage(v int32)

SetPerPage sets PerPage field to given value.

GetPageCount

func (o *Paging) GetPageCount() int32

GetPageCount returns the PageCount field if non-nil, zero value otherwise.

GetPageCountOk

func (o *Paging) GetPageCountOk() (*int32, bool)

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

SetPageCount

func (o *Paging) SetPageCount(v int32)

SetPageCount sets PageCount field to given value.

GetTotalCount

func (o *Paging) GetTotalCount() int32

GetTotalCount returns the TotalCount field if non-nil, zero value otherwise.

GetTotalCountOk

func (o *Paging) GetTotalCountOk() (*int32, bool)

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

SetTotalCount

func (o *Paging) SetTotalCount(v int32)

SetTotalCount sets TotalCount field to given value.

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