Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 4.48 KB

ListMeta.md

File metadata and controls

186 lines (101 loc) · 4.48 KB

ListMeta

Properties

Name Type Description Notes
Total Pointer to int32 [optional]
PerPage Pointer to int32 [optional]
CurrentPage Pointer to int32 [optional]
LastPage Pointer to int32 [optional]
Limit Pointer to int32 Same as per_page. [optional]
Offset Pointer to int32 (current_page - 1) * per_page. [optional]

Methods

NewListMeta

func NewListMeta() *ListMeta

NewListMeta instantiates a new ListMeta 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

NewListMetaWithDefaults

func NewListMetaWithDefaults() *ListMeta

NewListMetaWithDefaults instantiates a new ListMeta 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

GetTotal

func (o *ListMeta) GetTotal() int32

GetTotal returns the Total field if non-nil, zero value otherwise.

GetTotalOk

func (o *ListMeta) GetTotalOk() (*int32, bool)

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

SetTotal

func (o *ListMeta) SetTotal(v int32)

SetTotal sets Total field to given value.

HasTotal

func (o *ListMeta) HasTotal() bool

HasTotal returns a boolean if a field has been set.

GetPerPage

func (o *ListMeta) GetPerPage() int32

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

GetPerPageOk

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

SetPerPage sets PerPage field to given value.

HasPerPage

func (o *ListMeta) HasPerPage() bool

HasPerPage returns a boolean if a field has been set.

GetCurrentPage

func (o *ListMeta) GetCurrentPage() int32

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

GetCurrentPageOk

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

SetCurrentPage sets CurrentPage field to given value.

HasCurrentPage

func (o *ListMeta) HasCurrentPage() bool

HasCurrentPage returns a boolean if a field has been set.

GetLastPage

func (o *ListMeta) GetLastPage() int32

GetLastPage returns the LastPage field if non-nil, zero value otherwise.

GetLastPageOk

func (o *ListMeta) GetLastPageOk() (*int32, bool)

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

SetLastPage

func (o *ListMeta) SetLastPage(v int32)

SetLastPage sets LastPage field to given value.

HasLastPage

func (o *ListMeta) HasLastPage() bool

HasLastPage returns a boolean if a field has been set.

GetLimit

func (o *ListMeta) GetLimit() int32

GetLimit returns the Limit field if non-nil, zero value otherwise.

GetLimitOk

func (o *ListMeta) 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 *ListMeta) SetLimit(v int32)

SetLimit sets Limit field to given value.

HasLimit

func (o *ListMeta) HasLimit() bool

HasLimit returns a boolean if a field has been set.

GetOffset

func (o *ListMeta) GetOffset() int32

GetOffset returns the Offset field if non-nil, zero value otherwise.

GetOffsetOk

func (o *ListMeta) GetOffsetOk() (*int32, bool)

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

SetOffset

func (o *ListMeta) SetOffset(v int32)

SetOffset sets Offset field to given value.

HasOffset

func (o *ListMeta) HasOffset() bool

HasOffset returns a boolean if a field has been set.

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