Documentation
¶
Index ¶
- func CreateRegionFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type Region
- func (m *Region) GetAdditionalData() map[string]any
- func (m *Region) GetAllowLatencyRouting() *bool
- func (m *Region) GetContinentCode() *string
- func (m *Region) GetCountryCode() *string
- func (m *Region) GetFieldDeserializers() ...
- func (m *Region) GetId() *int64
- func (m *Region) GetLatitude() *float64
- func (m *Region) GetLongitude() *float64
- func (m *Region) GetName() *string
- func (m *Region) GetPricePerGigabyte() *float64
- func (m *Region) GetRegionCode() *string
- func (m *Region) Serialize(...) error
- func (m *Region) SetAdditionalData(value map[string]any)
- func (m *Region) SetAllowLatencyRouting(value *bool)
- func (m *Region) SetContinentCode(value *string)
- func (m *Region) SetCountryCode(value *string)
- func (m *Region) SetId(value *int64)
- func (m *Region) SetLatitude(value *float64)
- func (m *Region) SetLongitude(value *float64)
- func (m *Region) SetName(value *string)
- func (m *Region) SetPricePerGigabyte(value *float64)
- func (m *Region) SetRegionCode(value *string)
- type Regionable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRegionFromDiscriminatorValue ¶
func CreateRegionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateRegionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
Types ¶
type Region ¶
type Region struct {
// contains filtered or unexported fields
}
func NewRegion ¶
func NewRegion() *Region
NewRegion instantiates a new Region and sets the default values.
func (*Region) GetAdditionalData ¶
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*Region) GetAllowLatencyRouting ¶
GetAllowLatencyRouting gets the AllowLatencyRouting property value. The AllowLatencyRouting property returns a *bool when successful
func (*Region) GetContinentCode ¶
GetContinentCode gets the ContinentCode property value. The ContinentCode property returns a *string when successful
func (*Region) GetCountryCode ¶
GetCountryCode gets the CountryCode property value. The CountryCode property returns a *string when successful
func (*Region) GetFieldDeserializers ¶
func (m *Region) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*Region) GetId ¶
GetId gets the Id property value. The Id property returns a *int64 when successful
func (*Region) GetLatitude ¶
GetLatitude gets the Latitude property value. The Latitude property returns a *float64 when successful
func (*Region) GetLongitude ¶
GetLongitude gets the Longitude property value. The Longitude property returns a *float64 when successful
func (*Region) GetName ¶
GetName gets the Name property value. The Name property returns a *string when successful
func (*Region) GetPricePerGigabyte ¶
GetPricePerGigabyte gets the PricePerGigabyte property value. The PricePerGigabyte property returns a *float64 when successful
func (*Region) GetRegionCode ¶
GetRegionCode gets the RegionCode property value. The RegionCode property returns a *string when successful
func (*Region) Serialize ¶
func (m *Region) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*Region) SetAdditionalData ¶
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*Region) SetAllowLatencyRouting ¶
SetAllowLatencyRouting sets the AllowLatencyRouting property value. The AllowLatencyRouting property
func (*Region) SetContinentCode ¶
SetContinentCode sets the ContinentCode property value. The ContinentCode property
func (*Region) SetCountryCode ¶
SetCountryCode sets the CountryCode property value. The CountryCode property
func (*Region) SetLatitude ¶
SetLatitude sets the Latitude property value. The Latitude property
func (*Region) SetLongitude ¶
SetLongitude sets the Longitude property value. The Longitude property
func (*Region) SetPricePerGigabyte ¶
SetPricePerGigabyte sets the PricePerGigabyte property value. The PricePerGigabyte property
func (*Region) SetRegionCode ¶
SetRegionCode sets the RegionCode property value. The RegionCode property
type Regionable ¶
type Regionable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowLatencyRouting() *bool GetContinentCode() *string GetCountryCode() *string GetId() *int64 GetLatitude() *float64 GetLongitude() *float64 GetName() *string GetPricePerGigabyte() *float64 GetRegionCode() *string SetAllowLatencyRouting(value *bool) SetContinentCode(value *string) SetCountryCode(value *string) SetId(value *int64) SetLatitude(value *float64) SetLongitude(value *float64) SetName(value *string) SetPricePerGigabyte(value *float64) SetRegionCode(value *string) }