Name | Type | Description | Notes |
---|---|---|---|
Active | Pointer to bool | True if the instance is active | [optional] [readonly] |
IdKey | InstanceTypeKey | ||
InstanceTypeCode | Pointer to string | Instance type code | [optional] [readonly] |
InstanceTypeDetails | Pointer to InstanceTypeDetails | [optional] | |
MemSizeGB | Pointer to float64 | The instance's memory size, in gigabytes | [optional] |
NumCores | Pointer to float64 | The instance's number of CPU cores | [optional] |
ProviderCode | Pointer to string | Cloud provider code | [optional] [readonly] |
ProviderUuid | Pointer to string | Provider UUID | [optional] [readonly] |
func NewInstanceTypeResp(idKey InstanceTypeKey, ) *InstanceTypeResp
NewInstanceTypeResp instantiates a new InstanceTypeResp 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 NewInstanceTypeRespWithDefaults() *InstanceTypeResp
NewInstanceTypeRespWithDefaults instantiates a new InstanceTypeResp 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 *InstanceTypeResp) GetActive() bool
GetActive returns the Active field if non-nil, zero value otherwise.
func (o *InstanceTypeResp) GetActiveOk() (*bool, bool)
GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InstanceTypeResp) SetActive(v bool)
SetActive sets Active field to given value.
func (o *InstanceTypeResp) HasActive() bool
HasActive returns a boolean if a field has been set.
func (o *InstanceTypeResp) GetIdKey() InstanceTypeKey
GetIdKey returns the IdKey field if non-nil, zero value otherwise.
func (o *InstanceTypeResp) GetIdKeyOk() (*InstanceTypeKey, bool)
GetIdKeyOk returns a tuple with the IdKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InstanceTypeResp) SetIdKey(v InstanceTypeKey)
SetIdKey sets IdKey field to given value.
func (o *InstanceTypeResp) GetInstanceTypeCode() string
GetInstanceTypeCode returns the InstanceTypeCode field if non-nil, zero value otherwise.
func (o *InstanceTypeResp) GetInstanceTypeCodeOk() (*string, bool)
GetInstanceTypeCodeOk returns a tuple with the InstanceTypeCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InstanceTypeResp) SetInstanceTypeCode(v string)
SetInstanceTypeCode sets InstanceTypeCode field to given value.
func (o *InstanceTypeResp) HasInstanceTypeCode() bool
HasInstanceTypeCode returns a boolean if a field has been set.
func (o *InstanceTypeResp) GetInstanceTypeDetails() InstanceTypeDetails
GetInstanceTypeDetails returns the InstanceTypeDetails field if non-nil, zero value otherwise.
func (o *InstanceTypeResp) GetInstanceTypeDetailsOk() (*InstanceTypeDetails, bool)
GetInstanceTypeDetailsOk returns a tuple with the InstanceTypeDetails field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InstanceTypeResp) SetInstanceTypeDetails(v InstanceTypeDetails)
SetInstanceTypeDetails sets InstanceTypeDetails field to given value.
func (o *InstanceTypeResp) HasInstanceTypeDetails() bool
HasInstanceTypeDetails returns a boolean if a field has been set.
func (o *InstanceTypeResp) GetMemSizeGB() float64
GetMemSizeGB returns the MemSizeGB field if non-nil, zero value otherwise.
func (o *InstanceTypeResp) GetMemSizeGBOk() (*float64, bool)
GetMemSizeGBOk returns a tuple with the MemSizeGB field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InstanceTypeResp) SetMemSizeGB(v float64)
SetMemSizeGB sets MemSizeGB field to given value.
func (o *InstanceTypeResp) HasMemSizeGB() bool
HasMemSizeGB returns a boolean if a field has been set.
func (o *InstanceTypeResp) GetNumCores() float64
GetNumCores returns the NumCores field if non-nil, zero value otherwise.
func (o *InstanceTypeResp) GetNumCoresOk() (*float64, bool)
GetNumCoresOk returns a tuple with the NumCores field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InstanceTypeResp) SetNumCores(v float64)
SetNumCores sets NumCores field to given value.
func (o *InstanceTypeResp) HasNumCores() bool
HasNumCores returns a boolean if a field has been set.
func (o *InstanceTypeResp) GetProviderCode() string
GetProviderCode returns the ProviderCode field if non-nil, zero value otherwise.
func (o *InstanceTypeResp) GetProviderCodeOk() (*string, bool)
GetProviderCodeOk returns a tuple with the ProviderCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InstanceTypeResp) SetProviderCode(v string)
SetProviderCode sets ProviderCode field to given value.
func (o *InstanceTypeResp) HasProviderCode() bool
HasProviderCode returns a boolean if a field has been set.
func (o *InstanceTypeResp) GetProviderUuid() string
GetProviderUuid returns the ProviderUuid field if non-nil, zero value otherwise.
func (o *InstanceTypeResp) GetProviderUuidOk() (*string, bool)
GetProviderUuidOk returns a tuple with the ProviderUuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *InstanceTypeResp) SetProviderUuid(v string)
SetProviderUuid sets ProviderUuid field to given value.
func (o *InstanceTypeResp) HasProviderUuid() bool
HasProviderUuid returns a boolean if a field has been set.