Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 2.97 KB

PaginationResult.md

File metadata and controls

114 lines (61 loc) · 2.97 KB

PaginationResult

Properties

Name Type Description Notes
Total int32
Offset int32
Limit int32
Items []map[string]interface{}

Methods

NewPaginationResult

func NewPaginationResult(total int32, offset int32, limit int32, items []map[string]interface{}, ) *PaginationResult

NewPaginationResult instantiates a new PaginationResult 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

NewPaginationResultWithDefaults

func NewPaginationResultWithDefaults() *PaginationResult

NewPaginationResultWithDefaults instantiates a new PaginationResult 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 *PaginationResult) GetTotal() int32

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

GetTotalOk

func (o *PaginationResult) 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 *PaginationResult) SetTotal(v int32)

SetTotal sets Total field to given value.

GetOffset

func (o *PaginationResult) GetOffset() int32

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

GetOffsetOk

func (o *PaginationResult) 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 *PaginationResult) SetOffset(v int32)

SetOffset sets Offset field to given value.

GetLimit

func (o *PaginationResult) GetLimit() int32

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

GetLimitOk

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

SetLimit sets Limit field to given value.

GetItems

func (o *PaginationResult) GetItems() []map[string]interface{}

GetItems returns the Items field if non-nil, zero value otherwise.

GetItemsOk

func (o *PaginationResult) GetItemsOk() (*[]map[string]interface{}, bool)

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

SetItems

func (o *PaginationResult) SetItems(v []map[string]interface{})

SetItems sets Items field to given value.

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