Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Latest commit

 

History

History
181 lines (98 loc) · 5.69 KB

DeviceActionInput.md

File metadata and controls

181 lines (98 loc) · 5.69 KB

DeviceActionInput

Properties

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]

Methods

NewDeviceActionInput

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

NewDeviceActionInputWithDefaults

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

GetType

func (o *DeviceActionInput) GetType() string

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

GetTypeOk

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.

SetType

func (o *DeviceActionInput) SetType(v string)

SetType sets Type field to given value.

GetForceDelete

func (o *DeviceActionInput) GetForceDelete() bool

GetForceDelete returns the ForceDelete field if non-nil, zero value otherwise.

GetForceDeleteOk

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.

SetForceDelete

func (o *DeviceActionInput) SetForceDelete(v bool)

SetForceDelete sets ForceDelete field to given value.

HasForceDelete

func (o *DeviceActionInput) HasForceDelete() bool

HasForceDelete returns a boolean if a field has been set.

GetDeprovisionFast

func (o *DeviceActionInput) GetDeprovisionFast() bool

GetDeprovisionFast returns the DeprovisionFast field if non-nil, zero value otherwise.

GetDeprovisionFastOk

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.

SetDeprovisionFast

func (o *DeviceActionInput) SetDeprovisionFast(v bool)

SetDeprovisionFast sets DeprovisionFast field to given value.

HasDeprovisionFast

func (o *DeviceActionInput) HasDeprovisionFast() bool

HasDeprovisionFast returns a boolean if a field has been set.

GetPreserveData

func (o *DeviceActionInput) GetPreserveData() bool

GetPreserveData returns the PreserveData field if non-nil, zero value otherwise.

GetPreserveDataOk

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.

SetPreserveData

func (o *DeviceActionInput) SetPreserveData(v bool)

SetPreserveData sets PreserveData field to given value.

HasPreserveData

func (o *DeviceActionInput) HasPreserveData() bool

HasPreserveData returns a boolean if a field has been set.

GetOperatingSystem

func (o *DeviceActionInput) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field if non-nil, zero value otherwise.

GetOperatingSystemOk

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.

SetOperatingSystem

func (o *DeviceActionInput) SetOperatingSystem(v string)

SetOperatingSystem sets OperatingSystem field to given value.

HasOperatingSystem

func (o *DeviceActionInput) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

GetIpxeScriptUrl

func (o *DeviceActionInput) GetIpxeScriptUrl() string

GetIpxeScriptUrl returns the IpxeScriptUrl field if non-nil, zero value otherwise.

GetIpxeScriptUrlOk

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.

SetIpxeScriptUrl

func (o *DeviceActionInput) SetIpxeScriptUrl(v string)

SetIpxeScriptUrl sets IpxeScriptUrl field to given value.

HasIpxeScriptUrl

func (o *DeviceActionInput) HasIpxeScriptUrl() bool

HasIpxeScriptUrl returns a boolean if a field has been set.

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