Skip to content

Latest commit

 

History

History
132 lines (73 loc) · 3.62 KB

PaginationMeta.md

File metadata and controls

132 lines (73 loc) · 3.62 KB

PaginationMeta

Properties

Name Type Description Notes
CurrentPage Pointer to int32 Current page. [optional]
PerPage Pointer to int32 Number of records per page. [optional] [default to 20]
RecordCount Pointer to int32 Total records in result set. [optional]
TotalPages Pointer to int32 Total pages in result set. [optional]

Methods

NewPaginationMeta

func NewPaginationMeta() *PaginationMeta

NewPaginationMeta instantiates a new PaginationMeta 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

NewPaginationMetaWithDefaults

func NewPaginationMetaWithDefaults() *PaginationMeta

NewPaginationMetaWithDefaults instantiates a new PaginationMeta 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

GetCurrentPage

func (o *PaginationMeta) GetCurrentPage() int32

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

GetCurrentPageOk

func (o *PaginationMeta) 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 *PaginationMeta) SetCurrentPage(v int32)

SetCurrentPage sets CurrentPage field to given value.

HasCurrentPage

func (o *PaginationMeta) HasCurrentPage() bool

HasCurrentPage returns a boolean if a field has been set.

GetPerPage

func (o *PaginationMeta) GetPerPage() int32

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

GetPerPageOk

func (o *PaginationMeta) 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 *PaginationMeta) SetPerPage(v int32)

SetPerPage sets PerPage field to given value.

HasPerPage

func (o *PaginationMeta) HasPerPage() bool

HasPerPage returns a boolean if a field has been set.

GetRecordCount

func (o *PaginationMeta) GetRecordCount() int32

GetRecordCount returns the RecordCount field if non-nil, zero value otherwise.

GetRecordCountOk

func (o *PaginationMeta) GetRecordCountOk() (*int32, bool)

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

SetRecordCount

func (o *PaginationMeta) SetRecordCount(v int32)

SetRecordCount sets RecordCount field to given value.

HasRecordCount

func (o *PaginationMeta) HasRecordCount() bool

HasRecordCount returns a boolean if a field has been set.

GetTotalPages

func (o *PaginationMeta) GetTotalPages() int32

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

GetTotalPagesOk

func (o *PaginationMeta) 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 *PaginationMeta) SetTotalPages(v int32)

SetTotalPages sets TotalPages field to given value.

HasTotalPages

func (o *PaginationMeta) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

Back to API list | Back to README