regionlist

package
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRegionFromDiscriminatorValue

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

func (m *Region) GetAdditionalData() map[string]any

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

func (m *Region) GetAllowLatencyRouting() *bool

GetAllowLatencyRouting gets the AllowLatencyRouting property value. The AllowLatencyRouting property returns a *bool when successful

func (*Region) GetContinentCode

func (m *Region) GetContinentCode() *string

GetContinentCode gets the ContinentCode property value. The ContinentCode property returns a *string when successful

func (*Region) GetCountryCode

func (m *Region) GetCountryCode() *string

GetCountryCode gets the CountryCode property value. The CountryCode property returns a *string when successful

func (*Region) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*Region) GetId

func (m *Region) GetId() *int64

GetId gets the Id property value. The Id property returns a *int64 when successful

func (*Region) GetLatitude

func (m *Region) GetLatitude() *float64

GetLatitude gets the Latitude property value. The Latitude property returns a *float64 when successful

func (*Region) GetLongitude

func (m *Region) GetLongitude() *float64

GetLongitude gets the Longitude property value. The Longitude property returns a *float64 when successful

func (*Region) GetName

func (m *Region) GetName() *string

GetName gets the Name property value. The Name property returns a *string when successful

func (*Region) GetPricePerGigabyte

func (m *Region) GetPricePerGigabyte() *float64

GetPricePerGigabyte gets the PricePerGigabyte property value. The PricePerGigabyte property returns a *float64 when successful

func (*Region) GetRegionCode

func (m *Region) GetRegionCode() *string

GetRegionCode gets the RegionCode property value. The RegionCode property returns a *string when successful

func (*Region) Serialize

Serialize serializes information the current object

func (*Region) SetAdditionalData

func (m *Region) SetAdditionalData(value map[string]any)

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

func (m *Region) SetAllowLatencyRouting(value *bool)

SetAllowLatencyRouting sets the AllowLatencyRouting property value. The AllowLatencyRouting property

func (*Region) SetContinentCode

func (m *Region) SetContinentCode(value *string)

SetContinentCode sets the ContinentCode property value. The ContinentCode property

func (*Region) SetCountryCode

func (m *Region) SetCountryCode(value *string)

SetCountryCode sets the CountryCode property value. The CountryCode property

func (*Region) SetId

func (m *Region) SetId(value *int64)

SetId sets the Id property value. The Id property

func (*Region) SetLatitude

func (m *Region) SetLatitude(value *float64)

SetLatitude sets the Latitude property value. The Latitude property

func (*Region) SetLongitude

func (m *Region) SetLongitude(value *float64)

SetLongitude sets the Longitude property value. The Longitude property

func (*Region) SetName

func (m *Region) SetName(value *string)

SetName sets the Name property value. The Name property

func (*Region) SetPricePerGigabyte

func (m *Region) SetPricePerGigabyte(value *float64)

SetPricePerGigabyte sets the PricePerGigabyte property value. The PricePerGigabyte property

func (*Region) SetRegionCode

func (m *Region) SetRegionCode(value *string)

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL