Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.22 KB

Pagination.md

File metadata and controls

82 lines (45 loc) · 2.22 KB

Pagination

Properties

Name Type Description Notes
PageSize Pointer to int32 Number of results per page [optional]
CurrentPage Pointer to int32 Current page number [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

GetPageSize

func (o *Pagination) GetPageSize() int32

GetPageSize returns the PageSize field if non-nil, zero value otherwise.

GetPageSizeOk

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

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

SetPageSize

func (o *Pagination) SetPageSize(v int32)

SetPageSize sets PageSize field to given value.

HasPageSize

func (o *Pagination) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

GetCurrentPage

func (o *Pagination) GetCurrentPage() int32

GetCurrentPage returns the CurrentPage field if non-nil, zero value otherwise.

GetCurrentPageOk

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

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

SetCurrentPage

func (o *Pagination) SetCurrentPage(v int32)

SetCurrentPage sets CurrentPage field to given value.

HasCurrentPage

func (o *Pagination) HasCurrentPage() bool

HasCurrentPage returns a boolean if a field has been set.

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