Name | Type | Description | Notes |
---|---|---|---|
ConsumableId | string | Unique identifier of the consumable. Valid values are: 1. `Storage` 2. `Metrics` 3. `Continuous` 4. `Credits` | |
Quantity | Quantity |
func NewConsumable(consumableId string, quantity Quantity, ) *Consumable
NewConsumable instantiates a new Consumable 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 NewConsumableWithDefaults() *Consumable
NewConsumableWithDefaults instantiates a new Consumable 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 *Consumable) GetConsumableId() string
GetConsumableId returns the ConsumableId field if non-nil, zero value otherwise.
func (o *Consumable) GetConsumableIdOk() (*string, bool)
GetConsumableIdOk returns a tuple with the ConsumableId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Consumable) SetConsumableId(v string)
SetConsumableId sets ConsumableId field to given value.
func (o *Consumable) GetQuantity() Quantity
GetQuantity returns the Quantity field if non-nil, zero value otherwise.
func (o *Consumable) GetQuantityOk() (*Quantity, 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 *Consumable) SetQuantity(v Quantity)
SetQuantity sets Quantity field to given value.