Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 5.49 KB

UpdateInstanceOpts.md

File metadata and controls

186 lines (101 loc) · 5.49 KB

UpdateInstanceOpts

Properties

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]

Methods

NewUpdateInstanceOpts

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

NewUpdateInstanceOptsWithDefaults

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

GetType

func (o *UpdateInstanceOpts) GetType() TypeName

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *UpdateInstanceOpts) SetType(v TypeName)

SetType sets Type field to given value.

HasType

func (o *UpdateInstanceOpts) HasType() bool

HasType returns a boolean if a field has been set.

GetReference

func (o *UpdateInstanceOpts) GetReference() string

GetReference returns the Reference field if non-nil, zero value otherwise.

GetReferenceOk

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.

SetReference

func (o *UpdateInstanceOpts) SetReference(v string)

SetReference sets Reference field to given value.

HasReference

func (o *UpdateInstanceOpts) HasReference() bool

HasReference returns a boolean if a field has been set.

GetContractType

func (o *UpdateInstanceOpts) GetContractType() ContractType

GetContractType returns the ContractType field if non-nil, zero value otherwise.

GetContractTypeOk

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.

SetContractType

func (o *UpdateInstanceOpts) SetContractType(v ContractType)

SetContractType sets ContractType field to given value.

HasContractType

func (o *UpdateInstanceOpts) HasContractType() bool

HasContractType returns a boolean if a field has been set.

GetContractTerm

func (o *UpdateInstanceOpts) GetContractTerm() ContractTerm

GetContractTerm returns the ContractTerm field if non-nil, zero value otherwise.

GetContractTermOk

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.

SetContractTerm

func (o *UpdateInstanceOpts) SetContractTerm(v ContractTerm)

SetContractTerm sets ContractTerm field to given value.

HasContractTerm

func (o *UpdateInstanceOpts) HasContractTerm() bool

HasContractTerm returns a boolean if a field has been set.

GetBillingFrequency

func (o *UpdateInstanceOpts) GetBillingFrequency() BillingFrequency

GetBillingFrequency returns the BillingFrequency field if non-nil, zero value otherwise.

GetBillingFrequencyOk

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.

SetBillingFrequency

func (o *UpdateInstanceOpts) SetBillingFrequency(v BillingFrequency)

SetBillingFrequency sets BillingFrequency field to given value.

HasBillingFrequency

func (o *UpdateInstanceOpts) HasBillingFrequency() bool

HasBillingFrequency returns a boolean if a field has been set.

GetRootDiskSize

func (o *UpdateInstanceOpts) GetRootDiskSize() int32

GetRootDiskSize returns the RootDiskSize field if non-nil, zero value otherwise.

GetRootDiskSizeOk

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.

SetRootDiskSize

func (o *UpdateInstanceOpts) SetRootDiskSize(v int32)

SetRootDiskSize sets RootDiskSize field to given value.

HasRootDiskSize

func (o *UpdateInstanceOpts) HasRootDiskSize() bool

HasRootDiskSize returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]