VolumeProperties

Properties

Methods

NewVolumeProperties

func NewVolumeProperties(size float32, ) *VolumeProperties

NewVolumeProperties instantiates a new VolumeProperties 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

NewVolumePropertiesWithDefaults

func NewVolumePropertiesWithDefaults() *VolumeProperties

NewVolumePropertiesWithDefaults instantiates a new VolumeProperties 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

GetName

func (o *VolumeProperties) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *VolumeProperties) 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.

SetName

func (o *VolumeProperties) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *VolumeProperties) HasName() bool

HasName returns a boolean if a field has been set.

GetType

func (o *VolumeProperties) GetType() string

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

GetTypeOk

func (o *VolumeProperties) 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 *VolumeProperties) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *VolumeProperties) HasType() bool

HasType returns a boolean if a field has been set.

GetSize

func (o *VolumeProperties) GetSize() float32

GetSize returns the Size field if non-nil, zero value otherwise.

GetSizeOk

func (o *VolumeProperties) 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.

SetSize

func (o *VolumeProperties) SetSize(v float32)

SetSize sets Size field to given value.

GetAvailabilityZone

func (o *VolumeProperties) GetAvailabilityZone() string

GetAvailabilityZone returns the AvailabilityZone field if non-nil, zero value otherwise.

GetAvailabilityZoneOk

func (o *VolumeProperties) GetAvailabilityZoneOk() (*string, bool)

GetAvailabilityZoneOk returns a tuple with the AvailabilityZone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAvailabilityZone

func (o *VolumeProperties) SetAvailabilityZone(v string)

SetAvailabilityZone sets AvailabilityZone field to given value.

HasAvailabilityZone

func (o *VolumeProperties) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

GetImage

func (o *VolumeProperties) GetImage() string

GetImage returns the Image field if non-nil, zero value otherwise.

GetImageOk

func (o *VolumeProperties) GetImageOk() (*string, bool)

GetImageOk returns a tuple with the Image field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImage

func (o *VolumeProperties) SetImage(v string)

SetImage sets Image field to given value.

HasImage

func (o *VolumeProperties) HasImage() bool

HasImage returns a boolean if a field has been set.

GetImagePassword

func (o *VolumeProperties) GetImagePassword() string

GetImagePassword returns the ImagePassword field if non-nil, zero value otherwise.

GetImagePasswordOk

func (o *VolumeProperties) GetImagePasswordOk() (*string, bool)

GetImagePasswordOk returns a tuple with the ImagePassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImagePassword

func (o *VolumeProperties) SetImagePassword(v string)

SetImagePassword sets ImagePassword field to given value.

HasImagePassword

func (o *VolumeProperties) HasImagePassword() bool

HasImagePassword returns a boolean if a field has been set.

GetImageAlias

func (o *VolumeProperties) GetImageAlias() string

GetImageAlias returns the ImageAlias field if non-nil, zero value otherwise.

GetImageAliasOk

func (o *VolumeProperties) GetImageAliasOk() (*string, bool)

GetImageAliasOk returns a tuple with the ImageAlias field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetImageAlias

func (o *VolumeProperties) SetImageAlias(v string)

SetImageAlias sets ImageAlias field to given value.

HasImageAlias

func (o *VolumeProperties) HasImageAlias() bool

HasImageAlias returns a boolean if a field has been set.

GetSshKeys

func (o *VolumeProperties) GetSshKeys() []string

GetSshKeys returns the SshKeys field if non-nil, zero value otherwise.

GetSshKeysOk

func (o *VolumeProperties) GetSshKeysOk() (*[]string, bool)

GetSshKeysOk returns a tuple with the SshKeys field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSshKeys

func (o *VolumeProperties) SetSshKeys(v []string)

SetSshKeys sets SshKeys field to given value.

HasSshKeys

func (o *VolumeProperties) HasSshKeys() bool

HasSshKeys returns a boolean if a field has been set.

GetBus

func (o *VolumeProperties) GetBus() string

GetBus returns the Bus field if non-nil, zero value otherwise.

GetBusOk

func (o *VolumeProperties) GetBusOk() (*string, bool)

GetBusOk returns a tuple with the Bus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBus

func (o *VolumeProperties) SetBus(v string)

SetBus sets Bus field to given value.

HasBus

func (o *VolumeProperties) HasBus() bool

HasBus returns a boolean if a field has been set.

GetLicenceType

func (o *VolumeProperties) GetLicenceType() string

GetLicenceType returns the LicenceType field if non-nil, zero value otherwise.

GetLicenceTypeOk

func (o *VolumeProperties) 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.

SetLicenceType

func (o *VolumeProperties) SetLicenceType(v string)

SetLicenceType sets LicenceType field to given value.

HasLicenceType

func (o *VolumeProperties) HasLicenceType() bool

HasLicenceType returns a boolean if a field has been set.

GetCpuHotPlug

func (o *VolumeProperties) GetCpuHotPlug() bool

GetCpuHotPlug returns the CpuHotPlug field if non-nil, zero value otherwise.

GetCpuHotPlugOk

func (o *VolumeProperties) 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.

SetCpuHotPlug

func (o *VolumeProperties) SetCpuHotPlug(v bool)

SetCpuHotPlug sets CpuHotPlug field to given value.

HasCpuHotPlug

func (o *VolumeProperties) HasCpuHotPlug() bool

HasCpuHotPlug returns a boolean if a field has been set.

GetRamHotPlug

func (o *VolumeProperties) GetRamHotPlug() bool

GetRamHotPlug returns the RamHotPlug field if non-nil, zero value otherwise.

GetRamHotPlugOk

func (o *VolumeProperties) 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.

SetRamHotPlug

func (o *VolumeProperties) SetRamHotPlug(v bool)

SetRamHotPlug sets RamHotPlug field to given value.

HasRamHotPlug

func (o *VolumeProperties) HasRamHotPlug() bool

HasRamHotPlug returns a boolean if a field has been set.

GetNicHotPlug

func (o *VolumeProperties) GetNicHotPlug() bool

GetNicHotPlug returns the NicHotPlug field if non-nil, zero value otherwise.

GetNicHotPlugOk

func (o *VolumeProperties) 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.

SetNicHotPlug

func (o *VolumeProperties) SetNicHotPlug(v bool)

SetNicHotPlug sets NicHotPlug field to given value.

HasNicHotPlug

func (o *VolumeProperties) HasNicHotPlug() bool

HasNicHotPlug returns a boolean if a field has been set.

GetNicHotUnplug

func (o *VolumeProperties) GetNicHotUnplug() bool

GetNicHotUnplug returns the NicHotUnplug field if non-nil, zero value otherwise.

GetNicHotUnplugOk

func (o *VolumeProperties) 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.

SetNicHotUnplug

func (o *VolumeProperties) SetNicHotUnplug(v bool)

SetNicHotUnplug sets NicHotUnplug field to given value.

HasNicHotUnplug

func (o *VolumeProperties) HasNicHotUnplug() bool

HasNicHotUnplug returns a boolean if a field has been set.

GetDiscVirtioHotPlug

func (o *VolumeProperties) GetDiscVirtioHotPlug() bool

GetDiscVirtioHotPlug returns the DiscVirtioHotPlug field if non-nil, zero value otherwise.

GetDiscVirtioHotPlugOk

func (o *VolumeProperties) 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.

SetDiscVirtioHotPlug

func (o *VolumeProperties) SetDiscVirtioHotPlug(v bool)

SetDiscVirtioHotPlug sets DiscVirtioHotPlug field to given value.

HasDiscVirtioHotPlug

func (o *VolumeProperties) HasDiscVirtioHotPlug() bool

HasDiscVirtioHotPlug returns a boolean if a field has been set.

GetDiscVirtioHotUnplug

func (o *VolumeProperties) GetDiscVirtioHotUnplug() bool

GetDiscVirtioHotUnplug returns the DiscVirtioHotUnplug field if non-nil, zero value otherwise.

GetDiscVirtioHotUnplugOk

func (o *VolumeProperties) 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.

SetDiscVirtioHotUnplug

func (o *VolumeProperties) SetDiscVirtioHotUnplug(v bool)

SetDiscVirtioHotUnplug sets DiscVirtioHotUnplug field to given value.

HasDiscVirtioHotUnplug

func (o *VolumeProperties) HasDiscVirtioHotUnplug() bool

HasDiscVirtioHotUnplug returns a boolean if a field has been set.

GetDeviceNumber

func (o *VolumeProperties) GetDeviceNumber() int64

GetDeviceNumber returns the DeviceNumber field if non-nil, zero value otherwise.

GetDeviceNumberOk

func (o *VolumeProperties) GetDeviceNumberOk() (*int64, bool)

GetDeviceNumberOk returns a tuple with the DeviceNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDeviceNumber

func (o *VolumeProperties) SetDeviceNumber(v int64)

SetDeviceNumber sets DeviceNumber field to given value.

HasDeviceNumber

func (o *VolumeProperties) HasDeviceNumber() bool

HasDeviceNumber returns a boolean if a field has been set.

GetBackupunitId

func (o *VolumeProperties) GetBackupunitId() string

GetBackupunitId returns the BackupunitId field if non-nil, zero value otherwise.

GetBackupunitIdOk

func (o *VolumeProperties) GetBackupunitIdOk() (*string, bool)

GetBackupunitIdOk returns a tuple with the BackupunitId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBackupunitId

func (o *VolumeProperties) SetBackupunitId(v string)

SetBackupunitId sets BackupunitId field to given value.

HasBackupunitId

func (o *VolumeProperties) HasBackupunitId() bool

HasBackupunitId returns a boolean if a field has been set.

GetUserData

func (o *VolumeProperties) GetUserData() string

GetUserData returns the UserData field if non-nil, zero value otherwise.

GetUserDataOk

func (o *VolumeProperties) 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.

SetUserData

func (o *VolumeProperties) SetUserData(v string)

SetUserData sets UserData field to given value.

HasUserData

func (o *VolumeProperties) HasUserData() bool

HasUserData returns a boolean if a field has been set.

Last updated