Name | Type | Description | Notes |
---|---|---|---|
Type | Pointer to TypeName | [optional] | |
Reference | Pointer to string | An identifying name you can refer to the instance | [optional] |
ContractType | Pointer to ContractType | [optional] | |
ContractTerm | Pointer to ContractTerm | [optional] | |
BillingFrequency | Pointer to BillingFrequency | [optional] | |
RootDiskSize | Pointer to int32 | The root disk's size in GB. Must be at least 5 GB for Linux and FreeBSD instances and 50 GB for Windows instances | [optional] |
func NewUpdateInstanceOpts() *UpdateInstanceOpts
NewUpdateInstanceOpts instantiates a new UpdateInstanceOpts 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 NewUpdateInstanceOptsWithDefaults() *UpdateInstanceOpts
NewUpdateInstanceOptsWithDefaults instantiates a new UpdateInstanceOpts 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 *UpdateInstanceOpts) GetType() TypeName
GetType returns the Type field if non-nil, zero value otherwise.
func (o *UpdateInstanceOpts) GetTypeOk() (*TypeName, 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 *UpdateInstanceOpts) SetType(v TypeName)
SetType sets Type field to given value.
func (o *UpdateInstanceOpts) HasType() bool
HasType returns a boolean if a field has been set.
func (o *UpdateInstanceOpts) GetReference() string
GetReference returns the Reference field if non-nil, zero value otherwise.
func (o *UpdateInstanceOpts) GetReferenceOk() (*string, bool)
GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateInstanceOpts) SetReference(v string)
SetReference sets Reference field to given value.
func (o *UpdateInstanceOpts) HasReference() bool
HasReference returns a boolean if a field has been set.
func (o *UpdateInstanceOpts) GetContractType() ContractType
GetContractType returns the ContractType field if non-nil, zero value otherwise.
func (o *UpdateInstanceOpts) GetContractTypeOk() (*ContractType, bool)
GetContractTypeOk returns a tuple with the ContractType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateInstanceOpts) SetContractType(v ContractType)
SetContractType sets ContractType field to given value.
func (o *UpdateInstanceOpts) HasContractType() bool
HasContractType returns a boolean if a field has been set.
func (o *UpdateInstanceOpts) GetContractTerm() ContractTerm
GetContractTerm returns the ContractTerm field if non-nil, zero value otherwise.
func (o *UpdateInstanceOpts) GetContractTermOk() (*ContractTerm, bool)
GetContractTermOk returns a tuple with the ContractTerm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateInstanceOpts) SetContractTerm(v ContractTerm)
SetContractTerm sets ContractTerm field to given value.
func (o *UpdateInstanceOpts) HasContractTerm() bool
HasContractTerm returns a boolean if a field has been set.
func (o *UpdateInstanceOpts) GetBillingFrequency() BillingFrequency
GetBillingFrequency returns the BillingFrequency field if non-nil, zero value otherwise.
func (o *UpdateInstanceOpts) GetBillingFrequencyOk() (*BillingFrequency, bool)
GetBillingFrequencyOk returns a tuple with the BillingFrequency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateInstanceOpts) SetBillingFrequency(v BillingFrequency)
SetBillingFrequency sets BillingFrequency field to given value.
func (o *UpdateInstanceOpts) HasBillingFrequency() bool
HasBillingFrequency returns a boolean if a field has been set.
func (o *UpdateInstanceOpts) GetRootDiskSize() int32
GetRootDiskSize returns the RootDiskSize field if non-nil, zero value otherwise.
func (o *UpdateInstanceOpts) GetRootDiskSizeOk() (*int32, bool)
GetRootDiskSizeOk returns a tuple with the RootDiskSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateInstanceOpts) SetRootDiskSize(v int32)
SetRootDiskSize sets RootDiskSize field to given value.
func (o *UpdateInstanceOpts) HasRootDiskSize() bool
HasRootDiskSize returns a boolean if a field has been set.