Name | Type | Description | Notes |
---|---|---|---|
AlwaysPxe | Pointer to bool | [optional] | |
BillingCycle | Pointer to string | [optional] | |
Customdata | Pointer to map[string]interface{} | [optional] [default to {}] | |
Description | Pointer to string | [optional] | |
Hostname | Pointer to string | [optional] | |
IpxeScriptUrl | Pointer to string | [optional] | |
Locked | Pointer to bool | [optional] | |
NetworkFrozen | Pointer to bool | If true, this instance can not be converted to a different network type. | [optional] |
SpotInstance | Pointer to bool | Can be set to false to convert a spot-market instance to on-demand. | [optional] |
Tags | Pointer to []string | [optional] | |
Userdata | Pointer to string | [optional] |
func NewDeviceUpdateInput() *DeviceUpdateInput
NewDeviceUpdateInput instantiates a new DeviceUpdateInput 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 NewDeviceUpdateInputWithDefaults() *DeviceUpdateInput
NewDeviceUpdateInputWithDefaults instantiates a new DeviceUpdateInput 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 *DeviceUpdateInput) GetAlwaysPxe() bool
GetAlwaysPxe returns the AlwaysPxe field if non-nil, zero value otherwise.
func (o *DeviceUpdateInput) GetAlwaysPxeOk() (*bool, bool)
GetAlwaysPxeOk returns a tuple with the AlwaysPxe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceUpdateInput) SetAlwaysPxe(v bool)
SetAlwaysPxe sets AlwaysPxe field to given value.
func (o *DeviceUpdateInput) HasAlwaysPxe() bool
HasAlwaysPxe returns a boolean if a field has been set.
func (o *DeviceUpdateInput) GetBillingCycle() string
GetBillingCycle returns the BillingCycle field if non-nil, zero value otherwise.
func (o *DeviceUpdateInput) GetBillingCycleOk() (*string, bool)
GetBillingCycleOk returns a tuple with the BillingCycle field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceUpdateInput) SetBillingCycle(v string)
SetBillingCycle sets BillingCycle field to given value.
func (o *DeviceUpdateInput) HasBillingCycle() bool
HasBillingCycle returns a boolean if a field has been set.
func (o *DeviceUpdateInput) GetCustomdata() map[string]interface{}
GetCustomdata returns the Customdata field if non-nil, zero value otherwise.
func (o *DeviceUpdateInput) GetCustomdataOk() (*map[string]interface{}, bool)
GetCustomdataOk returns a tuple with the Customdata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceUpdateInput) SetCustomdata(v map[string]interface{})
SetCustomdata sets Customdata field to given value.
func (o *DeviceUpdateInput) HasCustomdata() bool
HasCustomdata returns a boolean if a field has been set.
func (o *DeviceUpdateInput) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *DeviceUpdateInput) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceUpdateInput) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *DeviceUpdateInput) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *DeviceUpdateInput) GetHostname() string
GetHostname returns the Hostname field if non-nil, zero value otherwise.
func (o *DeviceUpdateInput) GetHostnameOk() (*string, bool)
GetHostnameOk returns a tuple with the Hostname field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceUpdateInput) SetHostname(v string)
SetHostname sets Hostname field to given value.
func (o *DeviceUpdateInput) HasHostname() bool
HasHostname returns a boolean if a field has been set.
func (o *DeviceUpdateInput) GetIpxeScriptUrl() string
GetIpxeScriptUrl returns the IpxeScriptUrl field if non-nil, zero value otherwise.
func (o *DeviceUpdateInput) GetIpxeScriptUrlOk() (*string, bool)
GetIpxeScriptUrlOk returns a tuple with the IpxeScriptUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceUpdateInput) SetIpxeScriptUrl(v string)
SetIpxeScriptUrl sets IpxeScriptUrl field to given value.
func (o *DeviceUpdateInput) HasIpxeScriptUrl() bool
HasIpxeScriptUrl returns a boolean if a field has been set.
func (o *DeviceUpdateInput) GetLocked() bool
GetLocked returns the Locked field if non-nil, zero value otherwise.
func (o *DeviceUpdateInput) GetLockedOk() (*bool, bool)
GetLockedOk returns a tuple with the Locked field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceUpdateInput) SetLocked(v bool)
SetLocked sets Locked field to given value.
func (o *DeviceUpdateInput) HasLocked() bool
HasLocked returns a boolean if a field has been set.
func (o *DeviceUpdateInput) GetNetworkFrozen() bool
GetNetworkFrozen returns the NetworkFrozen field if non-nil, zero value otherwise.
func (o *DeviceUpdateInput) GetNetworkFrozenOk() (*bool, bool)
GetNetworkFrozenOk returns a tuple with the NetworkFrozen field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceUpdateInput) SetNetworkFrozen(v bool)
SetNetworkFrozen sets NetworkFrozen field to given value.
func (o *DeviceUpdateInput) HasNetworkFrozen() bool
HasNetworkFrozen returns a boolean if a field has been set.
func (o *DeviceUpdateInput) GetSpotInstance() bool
GetSpotInstance returns the SpotInstance field if non-nil, zero value otherwise.
func (o *DeviceUpdateInput) GetSpotInstanceOk() (*bool, bool)
GetSpotInstanceOk returns a tuple with the SpotInstance field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceUpdateInput) SetSpotInstance(v bool)
SetSpotInstance sets SpotInstance field to given value.
func (o *DeviceUpdateInput) HasSpotInstance() bool
HasSpotInstance returns a boolean if a field has been set.
func (o *DeviceUpdateInput) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *DeviceUpdateInput) GetTagsOk() (*[]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceUpdateInput) SetTags(v []string)
SetTags sets Tags field to given value.
func (o *DeviceUpdateInput) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *DeviceUpdateInput) GetUserdata() string
GetUserdata returns the Userdata field if non-nil, zero value otherwise.
func (o *DeviceUpdateInput) GetUserdataOk() (*string, bool)
GetUserdataOk returns a tuple with the Userdata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceUpdateInput) SetUserdata(v string)
SetUserdata sets Userdata field to given value.
func (o *DeviceUpdateInput) HasUserdata() bool
HasUserdata returns a boolean if a field has been set.