LocationProperties
Properties
Name
Pointer to string
The location name.
[optional]
MetroRegion
Pointer to string
the metro region, to which this datacenter location belongs to
[optional]
Features
Pointer to []string
A list of available features in the location.
[optional] [readonly]
ImageAliases
Pointer to []string
A list of image aliases available in the location.
[optional] [readonly]
CpuArchitecture
Pointer to []CpuArchitectureProperties
A list of available CPU types and related resources available in the location.
[optional] [readonly]
GpuArchitecture
Pointer to []GpuArchitectureProperties
The types of GPU cards that are available in the location.
[optional] [readonly]
Methods
NewLocationProperties
func NewLocationProperties() *LocationProperties
NewLocationProperties instantiates a new LocationProperties 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
NewLocationPropertiesWithDefaults
func NewLocationPropertiesWithDefaults() *LocationProperties
NewLocationPropertiesWithDefaults instantiates a new LocationProperties 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 *LocationProperties) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *LocationProperties) 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 *LocationProperties) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *LocationProperties) HasName() bool
HasName returns a boolean if a field has been set.
GetMetroRegion
func (o *LocationProperties) GetMetroRegion() string
GetMetroRegion returns the MetroRegion field if non-nil, zero value otherwise.
GetMetroRegionOk
func (o *LocationProperties) GetMetroRegionOk() (*string, bool)
GetMetroRegionOk returns a tuple with the MetroRegion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMetroRegion
func (o *LocationProperties) SetMetroRegion(v string)
SetMetroRegion sets MetroRegion field to given value.
HasMetroRegion
func (o *LocationProperties) HasMetroRegion() bool
HasMetroRegion returns a boolean if a field has been set.
GetFeatures
func (o *LocationProperties) GetFeatures() []string
GetFeatures returns the Features field if non-nil, zero value otherwise.
GetFeaturesOk
func (o *LocationProperties) GetFeaturesOk() (*[]string, bool)
GetFeaturesOk returns a tuple with the Features field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFeatures
func (o *LocationProperties) SetFeatures(v []string)
SetFeatures sets Features field to given value.
HasFeatures
func (o *LocationProperties) HasFeatures() bool
HasFeatures returns a boolean if a field has been set.
GetImageAliases
func (o *LocationProperties) GetImageAliases() []string
GetImageAliases returns the ImageAliases field if non-nil, zero value otherwise.
GetImageAliasesOk
func (o *LocationProperties) GetImageAliasesOk() (*[]string, bool)
GetImageAliasesOk returns a tuple with the ImageAliases field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetImageAliases
func (o *LocationProperties) SetImageAliases(v []string)
SetImageAliases sets ImageAliases field to given value.
HasImageAliases
func (o *LocationProperties) HasImageAliases() bool
HasImageAliases returns a boolean if a field has been set.
GetCpuArchitecture
func (o *LocationProperties) GetCpuArchitecture() []CpuArchitectureProperties
GetCpuArchitecture returns the CpuArchitecture field if non-nil, zero value otherwise.
GetCpuArchitectureOk
func (o *LocationProperties) GetCpuArchitectureOk() (*[]CpuArchitectureProperties, bool)
GetCpuArchitectureOk returns a tuple with the CpuArchitecture field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCpuArchitecture
func (o *LocationProperties) SetCpuArchitecture(v []CpuArchitectureProperties)
SetCpuArchitecture sets CpuArchitecture field to given value.
HasCpuArchitecture
func (o *LocationProperties) HasCpuArchitecture() bool
HasCpuArchitecture returns a boolean if a field has been set.
GetGpuArchitecture
func (o *LocationProperties) GetGpuArchitecture() []GpuArchitectureProperties
GetGpuArchitecture returns the GpuArchitecture field if non-nil, zero value otherwise.
GetGpuArchitectureOk
func (o *LocationProperties) GetGpuArchitectureOk() (*[]GpuArchitectureProperties, bool)
GetGpuArchitectureOk returns a tuple with the GpuArchitecture field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGpuArchitecture
func (o *LocationProperties) SetGpuArchitecture(v []GpuArchitectureProperties)
SetGpuArchitecture sets GpuArchitecture field to given value.
HasGpuArchitecture
func (o *LocationProperties) HasGpuArchitecture() bool
HasGpuArchitecture returns a boolean if a field has been set.
Last updated
Was this helpful?