ServerProperties
Properties
Methods
NewServerProperties
func NewServerProperties() *ServerProperties
NewServerProperties instantiates a new ServerProperties 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
NewServerPropertiesWithDefaults
func NewServerPropertiesWithDefaults() *ServerProperties
NewServerPropertiesWithDefaults instantiates a new ServerProperties 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
GetAvailabilityZone
func (o *ServerProperties) GetAvailabilityZone() string
GetAvailabilityZone returns the AvailabilityZone field if non-nil, zero value otherwise.
GetAvailabilityZoneOk
func (o *ServerProperties) 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 *ServerProperties) SetAvailabilityZone(v string)
SetAvailabilityZone sets AvailabilityZone field to given value.
HasAvailabilityZone
func (o *ServerProperties) HasAvailabilityZone() bool
HasAvailabilityZone returns a boolean if a field has been set.
GetBootCdrom
func (o *ServerProperties) GetBootCdrom() ResourceReference
GetBootCdrom returns the BootCdrom field if non-nil, zero value otherwise.
GetBootCdromOk
func (o *ServerProperties) GetBootCdromOk() (*ResourceReference, bool)
GetBootCdromOk returns a tuple with the BootCdrom field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBootCdrom
func (o *ServerProperties) SetBootCdrom(v ResourceReference)
SetBootCdrom sets BootCdrom field to given value.
HasBootCdrom
func (o *ServerProperties) HasBootCdrom() bool
HasBootCdrom returns a boolean if a field has been set.
GetBootVolume
func (o *ServerProperties) GetBootVolume() ResourceReference
GetBootVolume returns the BootVolume field if non-nil, zero value otherwise.
GetBootVolumeOk
func (o *ServerProperties) GetBootVolumeOk() (*ResourceReference, bool)
GetBootVolumeOk returns a tuple with the BootVolume field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBootVolume
func (o *ServerProperties) SetBootVolume(v ResourceReference)
SetBootVolume sets BootVolume field to given value.
HasBootVolume
func (o *ServerProperties) HasBootVolume() bool
HasBootVolume returns a boolean if a field has been set.
GetCores
func (o *ServerProperties) GetCores() int32
GetCores returns the Cores field if non-nil, zero value otherwise.
GetCoresOk
func (o *ServerProperties) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCores
func (o *ServerProperties) SetCores(v int32)
SetCores sets Cores field to given value.
HasCores
func (o *ServerProperties) HasCores() bool
HasCores returns a boolean if a field has been set.
GetCpuFamily
func (o *ServerProperties) GetCpuFamily() string
GetCpuFamily returns the CpuFamily field if non-nil, zero value otherwise.
GetCpuFamilyOk
func (o *ServerProperties) GetCpuFamilyOk() (*string, bool)
GetCpuFamilyOk returns a tuple with the CpuFamily field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCpuFamily
func (o *ServerProperties) SetCpuFamily(v string)
SetCpuFamily sets CpuFamily field to given value.
HasCpuFamily
func (o *ServerProperties) HasCpuFamily() bool
HasCpuFamily returns a boolean if a field has been set.
GetName
func (o *ServerProperties) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *ServerProperties) 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 *ServerProperties) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *ServerProperties) HasName() bool
HasName returns a boolean if a field has been set.
GetPlacementGroupId
func (o *ServerProperties) GetPlacementGroupId() string
GetPlacementGroupId returns the PlacementGroupId field if non-nil, zero value otherwise.
GetPlacementGroupIdOk
func (o *ServerProperties) GetPlacementGroupIdOk() (*string, bool)
GetPlacementGroupIdOk returns a tuple with the PlacementGroupId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPlacementGroupId
func (o *ServerProperties) SetPlacementGroupId(v string)
SetPlacementGroupId sets PlacementGroupId field to given value.
HasPlacementGroupId
func (o *ServerProperties) HasPlacementGroupId() bool
HasPlacementGroupId returns a boolean if a field has been set.
GetRam
func (o *ServerProperties) GetRam() int32
GetRam returns the Ram field if non-nil, zero value otherwise.
GetRamOk
func (o *ServerProperties) GetRamOk() (*int32, bool)
GetRamOk returns a tuple with the Ram field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRam
func (o *ServerProperties) SetRam(v int32)
SetRam sets Ram field to given value.
HasRam
func (o *ServerProperties) HasRam() bool
HasRam returns a boolean if a field has been set.
GetTemplateUuid
func (o *ServerProperties) GetTemplateUuid() string
GetTemplateUuid returns the TemplateUuid field if non-nil, zero value otherwise.
GetTemplateUuidOk
func (o *ServerProperties) GetTemplateUuidOk() (*string, bool)
GetTemplateUuidOk returns a tuple with the TemplateUuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTemplateUuid
func (o *ServerProperties) SetTemplateUuid(v string)
SetTemplateUuid sets TemplateUuid field to given value.
HasTemplateUuid
func (o *ServerProperties) HasTemplateUuid() bool
HasTemplateUuid returns a boolean if a field has been set.
GetType
func (o *ServerProperties) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *ServerProperties) 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 *ServerProperties) SetType(v string)
SetType sets Type field to given value.
HasType
func (o *ServerProperties) HasType() bool
HasType returns a boolean if a field has been set.
GetVmState
func (o *ServerProperties) GetVmState() string
GetVmState returns the VmState field if non-nil, zero value otherwise.
GetVmStateOk
func (o *ServerProperties) GetVmStateOk() (*string, bool)
GetVmStateOk returns a tuple with the VmState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVmState
func (o *ServerProperties) SetVmState(v string)
SetVmState sets VmState field to given value.
HasVmState
func (o *ServerProperties) HasVmState() bool
HasVmState returns a boolean if a field has been set.
Last updated