Name | Type | Description | Notes |
---|---|---|---|
Consumed | Pointer to int32 | [optional] | |
Id | Pointer to string | [optional] | |
Quantity | Pointer to int32 | [optional] | |
Type | Pointer to string | [optional] |
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
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
func (o *Pool) GetConsumed() int32
GetConsumed returns the Consumed field if non-nil, zero value otherwise.
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.
func (o *Pool) SetConsumed(v int32)
SetConsumed sets Consumed field to given value.
func (o *Pool) HasConsumed() bool
HasConsumed returns a boolean if a field has been set.
func (o *Pool) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *Pool) SetId(v string)
SetId sets Id field to given value.
func (o *Pool) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Pool) GetQuantity() int32
GetQuantity returns the Quantity field if non-nil, zero value otherwise.
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.
func (o *Pool) SetQuantity(v int32)
SetQuantity sets Quantity field to given value.
func (o *Pool) HasQuantity() bool
HasQuantity returns a boolean if a field has been set.
func (o *Pool) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *Pool) SetType(v string)
SetType sets Type field to given value.
func (o *Pool) HasType() bool
HasType returns a boolean if a field has been set.