Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.06 KB

Pool.md

File metadata and controls

134 lines (73 loc) · 3.06 KB

Pool

Properties

Name Type Description Notes
Consumed Pointer to int32 [optional]
Id Pointer to string [optional]
Quantity Pointer to int32 [optional]
Type Pointer to string [optional]

Methods

NewPool

func NewPool() *Pool

NewPool instantiates a new Pool 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

NewPoolWithDefaults

func NewPoolWithDefaults() *Pool

NewPoolWithDefaults instantiates a new Pool 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

GetConsumed

func (o *Pool) GetConsumed() int32

GetConsumed returns the Consumed field if non-nil, zero value otherwise.

GetConsumedOk

func (o *Pool) GetConsumedOk() (*int32, bool)

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

SetConsumed

func (o *Pool) SetConsumed(v int32)

SetConsumed sets Consumed field to given value.

HasConsumed

func (o *Pool) HasConsumed() bool

HasConsumed returns a boolean if a field has been set.

GetId

func (o *Pool) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Pool) GetIdOk() (*string, bool)

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

SetId

func (o *Pool) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Pool) HasId() bool

HasId returns a boolean if a field has been set.

GetQuantity

func (o *Pool) GetQuantity() int32

GetQuantity returns the Quantity field if non-nil, zero value otherwise.

GetQuantityOk

func (o *Pool) GetQuantityOk() (*int32, bool)

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

SetQuantity

func (o *Pool) SetQuantity(v int32)

SetQuantity sets Quantity field to given value.

HasQuantity

func (o *Pool) HasQuantity() bool

HasQuantity returns a boolean if a field has been set.

GetType

func (o *Pool) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *Pool) GetTypeOk() (*string, bool)

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

SetType

func (o *Pool) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *Pool) HasType() bool

HasType returns a boolean if a field has been set.

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