Name | Type | Description | Notes |
---|---|---|---|
Size | float32 | The storage size | |
Unit | string | The storage size unit |
func NewStorageSize(size float32, unit string, ) *StorageSize
NewStorageSize instantiates a new StorageSize 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 NewStorageSizeWithDefaults() *StorageSize
NewStorageSizeWithDefaults instantiates a new StorageSize 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 *StorageSize) GetSize() float32
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *StorageSize) GetSizeOk() (*float32, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StorageSize) SetSize(v float32)
SetSize sets Size field to given value.
func (o *StorageSize) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *StorageSize) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StorageSize) SetUnit(v string)
SetUnit sets Unit field to given value.