Documentation
¶
Index ¶
- func CreateConnectionFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type Connection
- func (m *Connection) GetAdditionalData() map[string]any
- func (m *Connection) GetConnectionType() *float64
- func (m *Connection) GetFieldDeserializers() ...
- func (m *Connection) GetMainCustomDomain() *string
- func (m *Connection) GetMonthlyBandwidthUsed() *float64
- func (m *Connection) GetMonthlyCharges() *float64
- func (m *Connection) GetPullZoneId() *int64
- func (m *Connection) GetPullZoneName() *string
- func (m *Connection) GetTier() *float64
- func (m *Connection) Serialize(...) error
- func (m *Connection) SetAdditionalData(value map[string]any)
- func (m *Connection) SetConnectionType(value *float64)
- func (m *Connection) SetMainCustomDomain(value *string)
- func (m *Connection) SetMonthlyBandwidthUsed(value *float64)
- func (m *Connection) SetMonthlyCharges(value *float64)
- func (m *Connection) SetPullZoneId(value *int64)
- func (m *Connection) SetPullZoneName(value *string)
- func (m *Connection) SetTier(value *float64)
- type Connectionable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConnectionFromDiscriminatorValue ¶
func CreateConnectionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateConnectionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection() *Connection
NewConnection instantiates a new Connection and sets the default values.
func (*Connection) GetAdditionalData ¶
func (m *Connection) 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 (*Connection) GetConnectionType ¶
func (m *Connection) GetConnectionType() *float64
GetConnectionType gets the ConnectionType property value. The ConnectionType property returns a *float64 when successful
func (*Connection) GetFieldDeserializers ¶
func (m *Connection) 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 (*Connection) GetMainCustomDomain ¶
func (m *Connection) GetMainCustomDomain() *string
GetMainCustomDomain gets the MainCustomDomain property value. The main custom connected CDN domain returns a *string when successful
func (*Connection) GetMonthlyBandwidthUsed ¶
func (m *Connection) GetMonthlyBandwidthUsed() *float64
GetMonthlyBandwidthUsed gets the MonthlyBandwidthUsed property value. The total amount of bandwidth served by this zone this month returns a *float64 when successful
func (*Connection) GetMonthlyCharges ¶
func (m *Connection) GetMonthlyCharges() *float64
GetMonthlyCharges gets the MonthlyCharges property value. The total monthly charges incurred by this zone returns a *float64 when successful
func (*Connection) GetPullZoneId ¶
func (m *Connection) GetPullZoneId() *int64
GetPullZoneId gets the PullZoneId property value. The ID of the connected pull zone returns a *int64 when successful
func (*Connection) GetPullZoneName ¶
func (m *Connection) GetPullZoneName() *string
GetPullZoneName gets the PullZoneName property value. The name of the connected pull zone returns a *string when successful
func (*Connection) GetTier ¶
func (m *Connection) GetTier() *float64
GetTier gets the Tier property value. The Tier property returns a *float64 when successful
func (*Connection) Serialize ¶
func (m *Connection) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*Connection) SetAdditionalData ¶
func (m *Connection) 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 (*Connection) SetConnectionType ¶
func (m *Connection) SetConnectionType(value *float64)
SetConnectionType sets the ConnectionType property value. The ConnectionType property
func (*Connection) SetMainCustomDomain ¶
func (m *Connection) SetMainCustomDomain(value *string)
SetMainCustomDomain sets the MainCustomDomain property value. The main custom connected CDN domain
func (*Connection) SetMonthlyBandwidthUsed ¶
func (m *Connection) SetMonthlyBandwidthUsed(value *float64)
SetMonthlyBandwidthUsed sets the MonthlyBandwidthUsed property value. The total amount of bandwidth served by this zone this month
func (*Connection) SetMonthlyCharges ¶
func (m *Connection) SetMonthlyCharges(value *float64)
SetMonthlyCharges sets the MonthlyCharges property value. The total monthly charges incurred by this zone
func (*Connection) SetPullZoneId ¶
func (m *Connection) SetPullZoneId(value *int64)
SetPullZoneId sets the PullZoneId property value. The ID of the connected pull zone
func (*Connection) SetPullZoneName ¶
func (m *Connection) SetPullZoneName(value *string)
SetPullZoneName sets the PullZoneName property value. The name of the connected pull zone
func (*Connection) SetTier ¶
func (m *Connection) SetTier(value *float64)
SetTier sets the Tier property value. The Tier property
type Connectionable ¶
type Connectionable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetConnectionType() *float64 GetMainCustomDomain() *string GetMonthlyBandwidthUsed() *float64 GetMonthlyCharges() *float64 GetPullZoneId() *int64 GetPullZoneName() *string GetTier() *float64 SetConnectionType(value *float64) SetMainCustomDomain(value *string) SetMonthlyBandwidthUsed(value *float64) SetMonthlyCharges(value *float64) SetPullZoneId(value *int64) SetPullZoneName(value *string) SetTier(value *float64) }