Name | Type | Description | Notes |
---|---|---|---|
Name | TypeName | ||
Resources | Resources | ||
StorageTypes | []StorageType | The supported storage types for the instance type | |
Prices | Prices |
func NewInstanceType(name TypeName, resources Resources, storageTypes []StorageType, prices Prices, ) *InstanceType
NewInstanceType instantiates a new InstanceType 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 NewInstanceTypeWithDefaults() *InstanceType
NewInstanceTypeWithDefaults instantiates a new InstanceType 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 *InstanceType) GetName() TypeName
GetName returns the Name field if non-nil, zero value otherwise.
func (o *InstanceType) GetNameOk() (*TypeName, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InstanceType) SetName(v TypeName)
SetName sets Name field to given value.
func (o *InstanceType) GetResources() Resources
GetResources returns the Resources field if non-nil, zero value otherwise.
func (o *InstanceType) GetResourcesOk() (*Resources, bool)
GetResourcesOk returns a tuple with the Resources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InstanceType) SetResources(v Resources)
SetResources sets Resources field to given value.
func (o *InstanceType) GetStorageTypes() []StorageType
GetStorageTypes returns the StorageTypes field if non-nil, zero value otherwise.
func (o *InstanceType) GetStorageTypesOk() (*[]StorageType, bool)
GetStorageTypesOk returns a tuple with the StorageTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InstanceType) SetStorageTypes(v []StorageType)
SetStorageTypes sets StorageTypes field to given value.
func (o *InstanceType) SetStorageTypesNil(b bool)
SetStorageTypesNil sets the value for StorageTypes to be an explicit nil
func (o *InstanceType) UnsetStorageTypes()
UnsetStorageTypes ensures that no value is present for StorageTypes, not even an explicit nil
func (o *InstanceType) GetPrices() Prices
GetPrices returns the Prices field if non-nil, zero value otherwise.
func (o *InstanceType) GetPricesOk() (*Prices, bool)
GetPricesOk returns a tuple with the Prices field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InstanceType) SetPrices(v Prices)
SetPrices sets Prices field to given value.