spacetraders/docs/Meta.md

2.1 KiB

Meta

Properties

Name Type Description Notes
Total int32
Page int32
Limit int32

Methods

NewMeta

func NewMeta(total int32, page int32, limit int32, ) *Meta

NewMeta instantiates a new Meta 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

NewMetaWithDefaults

func NewMetaWithDefaults() *Meta

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

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

GetTotalOk

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

SetTotal sets Total field to given value.

GetPage

func (o *Meta) GetPage() int32

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

GetPageOk

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

SetPage sets Page field to given value.

GetLimit

func (o *Meta) GetLimit() int32

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

GetLimitOk

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

SetLimit sets Limit field to given value.

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