Name | Type | Description | Notes |
---|---|---|---|
Type | string | Action to perform. See Device.actions for possible actions. | |
ForceDelete | Pointer to bool | May be required to perform actions under certain conditions | [optional] |
DeprovisionFast | Pointer to bool | When type is `reinstall`, enabling fast deprovisioning will bypass full disk wiping. | [optional] |
PreserveData | Pointer to bool | When type is `reinstall`, preserve the existing data on all disks except the operating-system disk. | [optional] |
OperatingSystem | Pointer to string | When type is `reinstall`, use this `operating_system` (defaults to the current `operating system`) | [optional] |
IpxeScriptUrl | Pointer to string | When type is `reinstall`, use this `ipxe_script_url` (`operating_system` must be `custom_ipxe`, defaults to the current `ipxe_script_url`) | [optional] |
func NewDeviceActionInput(type_ string, ) *DeviceActionInput
NewDeviceActionInput instantiates a new DeviceActionInput 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 NewDeviceActionInputWithDefaults() *DeviceActionInput
NewDeviceActionInputWithDefaults instantiates a new DeviceActionInput 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 *DeviceActionInput) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *DeviceActionInput) GetTypeOk() (*string, 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 *DeviceActionInput) SetType(v string)
SetType sets Type field to given value.
func (o *DeviceActionInput) GetForceDelete() bool
GetForceDelete returns the ForceDelete field if non-nil, zero value otherwise.
func (o *DeviceActionInput) GetForceDeleteOk() (*bool, bool)
GetForceDeleteOk returns a tuple with the ForceDelete field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceActionInput) SetForceDelete(v bool)
SetForceDelete sets ForceDelete field to given value.
func (o *DeviceActionInput) HasForceDelete() bool
HasForceDelete returns a boolean if a field has been set.
func (o *DeviceActionInput) GetDeprovisionFast() bool
GetDeprovisionFast returns the DeprovisionFast field if non-nil, zero value otherwise.
func (o *DeviceActionInput) GetDeprovisionFastOk() (*bool, bool)
GetDeprovisionFastOk returns a tuple with the DeprovisionFast field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceActionInput) SetDeprovisionFast(v bool)
SetDeprovisionFast sets DeprovisionFast field to given value.
func (o *DeviceActionInput) HasDeprovisionFast() bool
HasDeprovisionFast returns a boolean if a field has been set.
func (o *DeviceActionInput) GetPreserveData() bool
GetPreserveData returns the PreserveData field if non-nil, zero value otherwise.
func (o *DeviceActionInput) GetPreserveDataOk() (*bool, bool)
GetPreserveDataOk returns a tuple with the PreserveData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceActionInput) SetPreserveData(v bool)
SetPreserveData sets PreserveData field to given value.
func (o *DeviceActionInput) HasPreserveData() bool
HasPreserveData returns a boolean if a field has been set.
func (o *DeviceActionInput) GetOperatingSystem() string
GetOperatingSystem returns the OperatingSystem field if non-nil, zero value otherwise.
func (o *DeviceActionInput) GetOperatingSystemOk() (*string, bool)
GetOperatingSystemOk returns a tuple with the OperatingSystem field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeviceActionInput) SetOperatingSystem(v string)
SetOperatingSystem sets OperatingSystem field to given value.
func (o *DeviceActionInput) HasOperatingSystem() bool
HasOperatingSystem returns a boolean if a field has been set.
func (o *DeviceActionInput) GetIpxeScriptUrl() string
GetIpxeScriptUrl returns the IpxeScriptUrl field if non-nil, zero value otherwise.
func (o *DeviceActionInput) 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 *DeviceActionInput) SetIpxeScriptUrl(v string)
SetIpxeScriptUrl sets IpxeScriptUrl field to given value.
func (o *DeviceActionInput) HasIpxeScriptUrl() bool
HasIpxeScriptUrl returns a boolean if a field has been set.