Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 2.84 KB

File metadata and controls

114 lines (61 loc) · 2.84 KB

UserList

Properties

Name Type Description Notes
Data []User
Page int32 Page number.
TotalPage int32 Total pages in list.
ItemsTotal int32 Items in total.

Methods

NewUserList

func NewUserList(data []User, page int32, totalPage int32, itemsTotal int32, ) *UserList

NewUserList instantiates a new UserList 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

NewUserListWithDefaults

func NewUserListWithDefaults() *UserList

NewUserListWithDefaults instantiates a new UserList 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

GetData

func (o *UserList) GetData() []User

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *UserList) GetDataOk() (*[]User, bool)

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

SetData

func (o *UserList) SetData(v []User)

SetData sets Data field to given value.

GetPage

func (o *UserList) GetPage() int32

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

GetPageOk

func (o *UserList) 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 *UserList) SetPage(v int32)

SetPage sets Page field to given value.

GetTotalPage

func (o *UserList) GetTotalPage() int32

GetTotalPage returns the TotalPage field if non-nil, zero value otherwise.

GetTotalPageOk

func (o *UserList) GetTotalPageOk() (*int32, bool)

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

SetTotalPage

func (o *UserList) SetTotalPage(v int32)

SetTotalPage sets TotalPage field to given value.

GetItemsTotal

func (o *UserList) GetItemsTotal() int32

GetItemsTotal returns the ItemsTotal field if non-nil, zero value otherwise.

GetItemsTotalOk

func (o *UserList) GetItemsTotalOk() (*int32, bool)

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

SetItemsTotal

func (o *UserList) SetItemsTotal(v int32)

SetItemsTotal sets ItemsTotal field to given value.

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