SnapshotProperties
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewSnapshotProperties() *SnapshotProperties
NewSnapshotProperties instantiates a new SnapshotProperties 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 NewSnapshotPropertiesWithDefaults() *SnapshotProperties
NewSnapshotPropertiesWithDefaults instantiates a new SnapshotProperties 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 *SnapshotProperties) GetCpuHotPlug() bool
GetCpuHotPlug returns the CpuHotPlug field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetCpuHotPlugOk() (*bool, bool)
GetCpuHotPlugOk returns a tuple with the CpuHotPlug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetCpuHotPlug(v bool)
SetCpuHotPlug sets CpuHotPlug field to given value.
func (o *SnapshotProperties) HasCpuHotPlug() bool
HasCpuHotPlug returns a boolean if a field has been set.
func (o *SnapshotProperties) GetCpuHotUnplug() bool
GetCpuHotUnplug returns the CpuHotUnplug field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetCpuHotUnplugOk() (*bool, bool)
GetCpuHotUnplugOk returns a tuple with the CpuHotUnplug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetCpuHotUnplug(v bool)
SetCpuHotUnplug sets CpuHotUnplug field to given value.
func (o *SnapshotProperties) HasCpuHotUnplug() bool
HasCpuHotUnplug returns a boolean if a field has been set.
func (o *SnapshotProperties) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SnapshotProperties) 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 *SnapshotProperties) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SnapshotProperties) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *SnapshotProperties) GetDiscScsiHotPlug() bool
GetDiscScsiHotPlug returns the DiscScsiHotPlug field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetDiscScsiHotPlugOk() (*bool, bool)
GetDiscScsiHotPlugOk returns a tuple with the DiscScsiHotPlug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetDiscScsiHotPlug(v bool)
SetDiscScsiHotPlug sets DiscScsiHotPlug field to given value.
func (o *SnapshotProperties) HasDiscScsiHotPlug() bool
HasDiscScsiHotPlug returns a boolean if a field has been set.
func (o *SnapshotProperties) GetDiscScsiHotUnplug() bool
GetDiscScsiHotUnplug returns the DiscScsiHotUnplug field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetDiscScsiHotUnplugOk() (*bool, bool)
GetDiscScsiHotUnplugOk returns a tuple with the DiscScsiHotUnplug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetDiscScsiHotUnplug(v bool)
SetDiscScsiHotUnplug sets DiscScsiHotUnplug field to given value.
func (o *SnapshotProperties) HasDiscScsiHotUnplug() bool
HasDiscScsiHotUnplug returns a boolean if a field has been set.
func (o *SnapshotProperties) GetDiscVirtioHotPlug() bool
GetDiscVirtioHotPlug returns the DiscVirtioHotPlug field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetDiscVirtioHotPlugOk() (*bool, bool)
GetDiscVirtioHotPlugOk returns a tuple with the DiscVirtioHotPlug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetDiscVirtioHotPlug(v bool)
SetDiscVirtioHotPlug sets DiscVirtioHotPlug field to given value.
func (o *SnapshotProperties) HasDiscVirtioHotPlug() bool
HasDiscVirtioHotPlug returns a boolean if a field has been set.
func (o *SnapshotProperties) GetDiscVirtioHotUnplug() bool
GetDiscVirtioHotUnplug returns the DiscVirtioHotUnplug field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetDiscVirtioHotUnplugOk() (*bool, bool)
GetDiscVirtioHotUnplugOk returns a tuple with the DiscVirtioHotUnplug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetDiscVirtioHotUnplug(v bool)
SetDiscVirtioHotUnplug sets DiscVirtioHotUnplug field to given value.
func (o *SnapshotProperties) HasDiscVirtioHotUnplug() bool
HasDiscVirtioHotUnplug returns a boolean if a field has been set.
func (o *SnapshotProperties) GetLicenceType() string
GetLicenceType returns the LicenceType field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetLicenceTypeOk() (*string, bool)
GetLicenceTypeOk returns a tuple with the LicenceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetLicenceType(v string)
SetLicenceType sets LicenceType field to given value.
func (o *SnapshotProperties) HasLicenceType() bool
HasLicenceType returns a boolean if a field has been set.
func (o *SnapshotProperties) GetLocation() string
GetLocation returns the Location field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetLocation(v string)
SetLocation sets Location field to given value.
func (o *SnapshotProperties) HasLocation() bool
HasLocation returns a boolean if a field has been set.
func (o *SnapshotProperties) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetName(v string)
SetName sets Name field to given value.
func (o *SnapshotProperties) HasName() bool
HasName returns a boolean if a field has been set.
func (o *SnapshotProperties) GetNicHotPlug() bool
GetNicHotPlug returns the NicHotPlug field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetNicHotPlugOk() (*bool, bool)
GetNicHotPlugOk returns a tuple with the NicHotPlug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetNicHotPlug(v bool)
SetNicHotPlug sets NicHotPlug field to given value.
func (o *SnapshotProperties) HasNicHotPlug() bool
HasNicHotPlug returns a boolean if a field has been set.
func (o *SnapshotProperties) GetNicHotUnplug() bool
GetNicHotUnplug returns the NicHotUnplug field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetNicHotUnplugOk() (*bool, bool)
GetNicHotUnplugOk returns a tuple with the NicHotUnplug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetNicHotUnplug(v bool)
SetNicHotUnplug sets NicHotUnplug field to given value.
func (o *SnapshotProperties) HasNicHotUnplug() bool
HasNicHotUnplug returns a boolean if a field has been set.
func (o *SnapshotProperties) GetRamHotPlug() bool
GetRamHotPlug returns the RamHotPlug field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetRamHotPlugOk() (*bool, bool)
GetRamHotPlugOk returns a tuple with the RamHotPlug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetRamHotPlug(v bool)
SetRamHotPlug sets RamHotPlug field to given value.
func (o *SnapshotProperties) HasRamHotPlug() bool
HasRamHotPlug returns a boolean if a field has been set.
func (o *SnapshotProperties) GetRamHotUnplug() bool
GetRamHotUnplug returns the RamHotUnplug field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetRamHotUnplugOk() (*bool, bool)
GetRamHotUnplugOk returns a tuple with the RamHotUnplug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetRamHotUnplug(v bool)
SetRamHotUnplug sets RamHotUnplug field to given value.
func (o *SnapshotProperties) HasRamHotUnplug() bool
HasRamHotUnplug returns a boolean if a field has been set.
func (o *SnapshotProperties) GetSecAuthProtection() bool
GetSecAuthProtection returns the SecAuthProtection field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetSecAuthProtectionOk() (*bool, bool)
GetSecAuthProtectionOk returns a tuple with the SecAuthProtection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetSecAuthProtection(v bool)
SetSecAuthProtection sets SecAuthProtection field to given value.
func (o *SnapshotProperties) HasSecAuthProtection() bool
HasSecAuthProtection returns a boolean if a field has been set.
func (o *SnapshotProperties) GetSize() float32
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *SnapshotProperties) GetSizeOk() (*float32, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SnapshotProperties) SetSize(v float32)
SetSize sets Size field to given value.
func (o *SnapshotProperties) HasSize() bool
HasSize returns a boolean if a field has been set.
CpuHotPlug
Pointer to bool
Hot-plug capable CPU (no reboot required).
[optional]
CpuHotUnplug
Pointer to bool
Hot-unplug capable CPU (no reboot required).
[optional]
Description
Pointer to string
Human-readable description.
[optional]
DiscScsiHotPlug
Pointer to bool
Hot-plug capable SCSI drive (no reboot required).
[optional]
DiscScsiHotUnplug
Pointer to bool
Is capable of SCSI drive hot unplug (no reboot required). This works only for non-Windows virtual Machines.
[optional]
DiscVirtioHotPlug
Pointer to bool
Hot-plug capable Virt-IO drive (no reboot required).
[optional]
DiscVirtioHotUnplug
Pointer to bool
Hot-unplug capable Virt-IO drive (no reboot required). Not supported with Windows VMs.
[optional]
LicenceType
Pointer to string
OS type of this snapshot
[optional]
Location
Pointer to string
Location of that image/snapshot.
[optional] [readonly]
Name
Pointer to string
The name of the resource.
[optional]
NicHotPlug
Pointer to bool
Hot-plug capable NIC (no reboot required).
[optional]
NicHotUnplug
Pointer to bool
Hot-unplug capable NIC (no reboot required).
[optional]
RamHotPlug
Pointer to bool
Hot-plug capable RAM (no reboot required).
[optional]
RamHotUnplug
Pointer to bool
Hot-unplug capable RAM (no reboot required).
[optional]
SecAuthProtection
Pointer to bool
Boolean value representing if the snapshot requires extra protection, such as two-step verification.
[optional]
Size
Pointer to float32
The size of the image in GB.
[optional] [readonly]