Documentation ¶
Index ¶
- func CreateStorageZoneCreateFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateStorageZoneFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func ParseEdgeReplicationRegions(v string) (any, error)
- func ParseStandardRegions(v string) (any, error)
- func SerializeEdgeReplicationRegions(values []EdgeReplicationRegions) []string
- func SerializeStandardRegions(values []StandardRegions) []string
- type EdgeReplicationRegions
- type StandardRegions
- type StorageZone
- func (m *StorageZone) GetAdditionalData() map[string]any
- func (m *StorageZone) GetCustom404FilePath() *string
- func (m *StorageZone) GetDateModified() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *StorageZone) GetDeleted() *bool
- func (m *StorageZone) GetDiscount() *int32
- func (m *StorageZone) GetFieldDeserializers() ...
- func (m *StorageZone) GetFilesStored() *int64
- func (m *StorageZone) GetId() *int64
- func (m *StorageZone) GetName() *string
- func (m *StorageZone) GetPassword() *string
- func (m *StorageZone) GetPriceOverride() *float64
- func (m *StorageZone) GetPullZones() ...
- func (m *StorageZone) GetReadOnlyPassword() *string
- func (m *StorageZone) GetRegion() *StandardRegions
- func (m *StorageZone) GetReplicationChangeInProgress() *bool
- func (m *StorageZone) GetReplicationRegions() []EdgeReplicationRegions
- func (m *StorageZone) GetRewrite404To200() *bool
- func (m *StorageZone) GetStorageHostname() *string
- func (m *StorageZone) GetStorageUsed() *int64
- func (m *StorageZone) GetUserId() *string
- func (m *StorageZone) GetZoneTier() *float64
- func (m *StorageZone) Serialize(...) error
- func (m *StorageZone) SetAdditionalData(value map[string]any)
- func (m *StorageZone) SetCustom404FilePath(value *string)
- func (m *StorageZone) SetDateModified(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *StorageZone) SetDeleted(value *bool)
- func (m *StorageZone) SetDiscount(value *int32)
- func (m *StorageZone) SetFilesStored(value *int64)
- func (m *StorageZone) SetId(value *int64)
- func (m *StorageZone) SetName(value *string)
- func (m *StorageZone) SetPassword(value *string)
- func (m *StorageZone) SetPriceOverride(value *float64)
- func (m *StorageZone) SetPullZones(...)
- func (m *StorageZone) SetReadOnlyPassword(value *string)
- func (m *StorageZone) SetRegion(value *StandardRegions)
- func (m *StorageZone) SetReplicationChangeInProgress(value *bool)
- func (m *StorageZone) SetReplicationRegions(value []EdgeReplicationRegions)
- func (m *StorageZone) SetRewrite404To200(value *bool)
- func (m *StorageZone) SetStorageHostname(value *string)
- func (m *StorageZone) SetStorageUsed(value *int64)
- func (m *StorageZone) SetUserId(value *string)
- func (m *StorageZone) SetZoneTier(value *float64)
- type StorageZoneCreate
- func (m *StorageZoneCreate) GetAdditionalData() map[string]any
- func (m *StorageZoneCreate) GetCustom404FilePath() *string
- func (m *StorageZoneCreate) GetFieldDeserializers() ...
- func (m *StorageZoneCreate) GetName() *string
- func (m *StorageZoneCreate) GetOriginUrl() *string
- func (m *StorageZoneCreate) GetRegion() *StandardRegions
- func (m *StorageZoneCreate) GetReplicationRegions() []EdgeReplicationRegions
- func (m *StorageZoneCreate) GetRewrite404To200() *bool
- func (m *StorageZoneCreate) GetZoneTier() *float64
- func (m *StorageZoneCreate) Serialize(...) error
- func (m *StorageZoneCreate) SetAdditionalData(value map[string]any)
- func (m *StorageZoneCreate) SetCustom404FilePath(value *string)
- func (m *StorageZoneCreate) SetName(value *string)
- func (m *StorageZoneCreate) SetOriginUrl(value *string)
- func (m *StorageZoneCreate) SetRegion(value *StandardRegions)
- func (m *StorageZoneCreate) SetReplicationRegions(value []EdgeReplicationRegions)
- func (m *StorageZoneCreate) SetRewrite404To200(value *bool)
- func (m *StorageZoneCreate) SetZoneTier(value *float64)
- type StorageZoneCreateable
- type StorageZoneable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStorageZoneCreateFromDiscriminatorValue ¶
func CreateStorageZoneCreateFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateStorageZoneCreateFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateStorageZoneFromDiscriminatorValue ¶
func CreateStorageZoneFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateStorageZoneFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func ParseStandardRegions ¶
func SerializeEdgeReplicationRegions ¶
func SerializeEdgeReplicationRegions(values []EdgeReplicationRegions) []string
func SerializeStandardRegions ¶
func SerializeStandardRegions(values []StandardRegions) []string
Types ¶
type EdgeReplicationRegions ¶
type EdgeReplicationRegions int
const ( DE_EDGEREPLICATIONREGIONS EdgeReplicationRegions = iota UK_EDGEREPLICATIONREGIONS SE_EDGEREPLICATIONREGIONS CZ_EDGEREPLICATIONREGIONS ES_EDGEREPLICATIONREGIONS NY_EDGEREPLICATIONREGIONS LA_EDGEREPLICATIONREGIONS WA_EDGEREPLICATIONREGIONS MI_EDGEREPLICATIONREGIONS SG_EDGEREPLICATIONREGIONS HK_EDGEREPLICATIONREGIONS JP_EDGEREPLICATIONREGIONS SYD_EDGEREPLICATIONREGIONS BR_EDGEREPLICATIONREGIONS JH_EDGEREPLICATIONREGIONS )
func (EdgeReplicationRegions) String ¶
func (i EdgeReplicationRegions) String() string
type StandardRegions ¶
type StandardRegions int
const ( DE_STANDARDREGIONS StandardRegions = iota UK_STANDARDREGIONS SE_STANDARDREGIONS NY_STANDARDREGIONS LA_STANDARDREGIONS SG_STANDARDREGIONS SYD_STANDARDREGIONS BR_STANDARDREGIONS JH_STANDARDREGIONS )
func (StandardRegions) String ¶
func (i StandardRegions) String() string
type StorageZone ¶
type StorageZone struct {
// contains filtered or unexported fields
}
func NewStorageZone ¶
func NewStorageZone() *StorageZone
NewStorageZone instantiates a new StorageZone and sets the default values.
func (*StorageZone) GetAdditionalData ¶
func (m *StorageZone) 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 (*StorageZone) GetCustom404FilePath ¶
func (m *StorageZone) GetCustom404FilePath() *string
GetCustom404FilePath gets the Custom404FilePath property value. The Custom404FilePath property returns a *string when successful
func (*StorageZone) GetDateModified ¶
func (m *StorageZone) GetDateModified() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetDateModified gets the DateModified property value. The DateModified property returns a *Time when successful
func (*StorageZone) GetDeleted ¶
func (m *StorageZone) GetDeleted() *bool
GetDeleted gets the Deleted property value. The Deleted property returns a *bool when successful
func (*StorageZone) GetDiscount ¶
func (m *StorageZone) GetDiscount() *int32
GetDiscount gets the Discount property value. The Discount property returns a *int32 when successful
func (*StorageZone) GetFieldDeserializers ¶
func (m *StorageZone) 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 (*StorageZone) GetFilesStored ¶
func (m *StorageZone) GetFilesStored() *int64
GetFilesStored gets the FilesStored property value. The FilesStored property returns a *int64 when successful
func (*StorageZone) GetId ¶
func (m *StorageZone) GetId() *int64
GetId gets the Id property value. The Id property returns a *int64 when successful
func (*StorageZone) GetName ¶
func (m *StorageZone) GetName() *string
GetName gets the Name property value. The Name property returns a *string when successful
func (*StorageZone) GetPassword ¶
func (m *StorageZone) GetPassword() *string
GetPassword gets the Password property value. The Password property returns a *string when successful
func (*StorageZone) GetPriceOverride ¶
func (m *StorageZone) GetPriceOverride() *float64
GetPriceOverride gets the PriceOverride property value. The PriceOverride property returns a *float64 when successful
func (*StorageZone) GetPullZones ¶
func (m *StorageZone) GetPullZones() []i9d3c79fc44359c9b4b531e313634f16de3ba545b486fa45d121ca75ff09e2fe4.PullZoneable
GetPullZones gets the PullZones property value. The PullZones property returns a []PullZoneable when successful
func (*StorageZone) GetReadOnlyPassword ¶
func (m *StorageZone) GetReadOnlyPassword() *string
GetReadOnlyPassword gets the ReadOnlyPassword property value. The ReadOnlyPassword property returns a *string when successful
func (*StorageZone) GetRegion ¶
func (m *StorageZone) GetRegion() *StandardRegions
GetRegion gets the Region property value. The Region property returns a *StandardRegions when successful
func (*StorageZone) GetReplicationChangeInProgress ¶
func (m *StorageZone) GetReplicationChangeInProgress() *bool
GetReplicationChangeInProgress gets the ReplicationChangeInProgress property value. The ReplicationChangeInProgress property returns a *bool when successful
func (*StorageZone) GetReplicationRegions ¶
func (m *StorageZone) GetReplicationRegions() []EdgeReplicationRegions
GetReplicationRegions gets the ReplicationRegions property value. The ReplicationRegions property returns a []EdgeReplicationRegions when successful
func (*StorageZone) GetRewrite404To200 ¶
func (m *StorageZone) GetRewrite404To200() *bool
GetRewrite404To200 gets the Rewrite404To200 property value. The Rewrite404To200 property returns a *bool when successful
func (*StorageZone) GetStorageHostname ¶
func (m *StorageZone) GetStorageHostname() *string
GetStorageHostname gets the StorageHostname property value. The StorageHostname property returns a *string when successful
func (*StorageZone) GetStorageUsed ¶
func (m *StorageZone) GetStorageUsed() *int64
GetStorageUsed gets the StorageUsed property value. The StorageUsed property returns a *int64 when successful
func (*StorageZone) GetUserId ¶
func (m *StorageZone) GetUserId() *string
GetUserId gets the UserId property value. The UserId property returns a *string when successful
func (*StorageZone) GetZoneTier ¶
func (m *StorageZone) GetZoneTier() *float64
GetZoneTier gets the ZoneTier property value. The ZoneTier property returns a *float64 when successful
func (*StorageZone) Serialize ¶
func (m *StorageZone) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*StorageZone) SetAdditionalData ¶
func (m *StorageZone) 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 (*StorageZone) SetCustom404FilePath ¶
func (m *StorageZone) SetCustom404FilePath(value *string)
SetCustom404FilePath sets the Custom404FilePath property value. The Custom404FilePath property
func (*StorageZone) SetDateModified ¶
func (m *StorageZone) SetDateModified(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetDateModified sets the DateModified property value. The DateModified property
func (*StorageZone) SetDeleted ¶
func (m *StorageZone) SetDeleted(value *bool)
SetDeleted sets the Deleted property value. The Deleted property
func (*StorageZone) SetDiscount ¶
func (m *StorageZone) SetDiscount(value *int32)
SetDiscount sets the Discount property value. The Discount property
func (*StorageZone) SetFilesStored ¶
func (m *StorageZone) SetFilesStored(value *int64)
SetFilesStored sets the FilesStored property value. The FilesStored property
func (*StorageZone) SetId ¶
func (m *StorageZone) SetId(value *int64)
SetId sets the Id property value. The Id property
func (*StorageZone) SetName ¶
func (m *StorageZone) SetName(value *string)
SetName sets the Name property value. The Name property
func (*StorageZone) SetPassword ¶
func (m *StorageZone) SetPassword(value *string)
SetPassword sets the Password property value. The Password property
func (*StorageZone) SetPriceOverride ¶
func (m *StorageZone) SetPriceOverride(value *float64)
SetPriceOverride sets the PriceOverride property value. The PriceOverride property
func (*StorageZone) SetPullZones ¶
func (m *StorageZone) SetPullZones(value []i9d3c79fc44359c9b4b531e313634f16de3ba545b486fa45d121ca75ff09e2fe4.PullZoneable)
SetPullZones sets the PullZones property value. The PullZones property
func (*StorageZone) SetReadOnlyPassword ¶
func (m *StorageZone) SetReadOnlyPassword(value *string)
SetReadOnlyPassword sets the ReadOnlyPassword property value. The ReadOnlyPassword property
func (*StorageZone) SetRegion ¶
func (m *StorageZone) SetRegion(value *StandardRegions)
SetRegion sets the Region property value. The Region property
func (*StorageZone) SetReplicationChangeInProgress ¶
func (m *StorageZone) SetReplicationChangeInProgress(value *bool)
SetReplicationChangeInProgress sets the ReplicationChangeInProgress property value. The ReplicationChangeInProgress property
func (*StorageZone) SetReplicationRegions ¶
func (m *StorageZone) SetReplicationRegions(value []EdgeReplicationRegions)
SetReplicationRegions sets the ReplicationRegions property value. The ReplicationRegions property
func (*StorageZone) SetRewrite404To200 ¶
func (m *StorageZone) SetRewrite404To200(value *bool)
SetRewrite404To200 sets the Rewrite404To200 property value. The Rewrite404To200 property
func (*StorageZone) SetStorageHostname ¶
func (m *StorageZone) SetStorageHostname(value *string)
SetStorageHostname sets the StorageHostname property value. The StorageHostname property
func (*StorageZone) SetStorageUsed ¶
func (m *StorageZone) SetStorageUsed(value *int64)
SetStorageUsed sets the StorageUsed property value. The StorageUsed property
func (*StorageZone) SetUserId ¶
func (m *StorageZone) SetUserId(value *string)
SetUserId sets the UserId property value. The UserId property
func (*StorageZone) SetZoneTier ¶
func (m *StorageZone) SetZoneTier(value *float64)
SetZoneTier sets the ZoneTier property value. The ZoneTier property
type StorageZoneCreate ¶
type StorageZoneCreate struct {
// contains filtered or unexported fields
}
func NewStorageZoneCreate ¶
func NewStorageZoneCreate() *StorageZoneCreate
NewStorageZoneCreate instantiates a new StorageZoneCreate and sets the default values.
func (*StorageZoneCreate) GetAdditionalData ¶
func (m *StorageZoneCreate) 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 (*StorageZoneCreate) GetCustom404FilePath ¶
func (m *StorageZoneCreate) GetCustom404FilePath() *string
GetCustom404FilePath gets the Custom404FilePath property value. The Custom404FilePath property returns a *string when successful
func (*StorageZoneCreate) GetFieldDeserializers ¶
func (m *StorageZoneCreate) 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 (*StorageZoneCreate) GetName ¶
func (m *StorageZoneCreate) GetName() *string
GetName gets the Name property value. The Name property returns a *string when successful
func (*StorageZoneCreate) GetOriginUrl ¶
func (m *StorageZoneCreate) GetOriginUrl() *string
GetOriginUrl gets the OriginUrl property value. The OriginUrl property returns a *string when successful
func (*StorageZoneCreate) GetRegion ¶
func (m *StorageZoneCreate) GetRegion() *StandardRegions
GetRegion gets the Region property value. The Region property returns a *StandardRegions when successful
func (*StorageZoneCreate) GetReplicationRegions ¶
func (m *StorageZoneCreate) GetReplicationRegions() []EdgeReplicationRegions
GetReplicationRegions gets the ReplicationRegions property value. The ReplicationRegions property returns a []EdgeReplicationRegions when successful
func (*StorageZoneCreate) GetRewrite404To200 ¶
func (m *StorageZoneCreate) GetRewrite404To200() *bool
GetRewrite404To200 gets the Rewrite404To200 property value. The Rewrite404To200 property returns a *bool when successful
func (*StorageZoneCreate) GetZoneTier ¶
func (m *StorageZoneCreate) GetZoneTier() *float64
GetZoneTier gets the ZoneTier property value. The ZoneTier property returns a *float64 when successful
func (*StorageZoneCreate) Serialize ¶
func (m *StorageZoneCreate) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*StorageZoneCreate) SetAdditionalData ¶
func (m *StorageZoneCreate) 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 (*StorageZoneCreate) SetCustom404FilePath ¶
func (m *StorageZoneCreate) SetCustom404FilePath(value *string)
SetCustom404FilePath sets the Custom404FilePath property value. The Custom404FilePath property
func (*StorageZoneCreate) SetName ¶
func (m *StorageZoneCreate) SetName(value *string)
SetName sets the Name property value. The Name property
func (*StorageZoneCreate) SetOriginUrl ¶
func (m *StorageZoneCreate) SetOriginUrl(value *string)
SetOriginUrl sets the OriginUrl property value. The OriginUrl property
func (*StorageZoneCreate) SetRegion ¶
func (m *StorageZoneCreate) SetRegion(value *StandardRegions)
SetRegion sets the Region property value. The Region property
func (*StorageZoneCreate) SetReplicationRegions ¶
func (m *StorageZoneCreate) SetReplicationRegions(value []EdgeReplicationRegions)
SetReplicationRegions sets the ReplicationRegions property value. The ReplicationRegions property
func (*StorageZoneCreate) SetRewrite404To200 ¶
func (m *StorageZoneCreate) SetRewrite404To200(value *bool)
SetRewrite404To200 sets the Rewrite404To200 property value. The Rewrite404To200 property
func (*StorageZoneCreate) SetZoneTier ¶
func (m *StorageZoneCreate) SetZoneTier(value *float64)
SetZoneTier sets the ZoneTier property value. The ZoneTier property
type StorageZoneCreateable ¶
type StorageZoneCreateable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCustom404FilePath() *string GetName() *string GetOriginUrl() *string GetRegion() *StandardRegions GetReplicationRegions() []EdgeReplicationRegions GetRewrite404To200() *bool GetZoneTier() *float64 SetCustom404FilePath(value *string) SetName(value *string) SetOriginUrl(value *string) SetRegion(value *StandardRegions) SetReplicationRegions(value []EdgeReplicationRegions) SetRewrite404To200(value *bool) SetZoneTier(value *float64) }
type StorageZoneable ¶
type StorageZoneable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCustom404FilePath() *string GetDateModified() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time GetDeleted() *bool GetDiscount() *int32 GetFilesStored() *int64 GetId() *int64 GetName() *string GetPassword() *string GetPriceOverride() *float64 GetPullZones() []i9d3c79fc44359c9b4b531e313634f16de3ba545b486fa45d121ca75ff09e2fe4.PullZoneable GetReadOnlyPassword() *string GetRegion() *StandardRegions GetReplicationChangeInProgress() *bool GetReplicationRegions() []EdgeReplicationRegions GetRewrite404To200() *bool GetStorageHostname() *string GetStorageUsed() *int64 GetUserId() *string GetZoneTier() *float64 SetCustom404FilePath(value *string) SetDateModified(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) SetDeleted(value *bool) SetDiscount(value *int32) SetFilesStored(value *int64) SetId(value *int64) SetName(value *string) SetPassword(value *string) SetPriceOverride(value *float64) SetPullZones(value []i9d3c79fc44359c9b4b531e313634f16de3ba545b486fa45d121ca75ff09e2fe4.PullZoneable) SetReadOnlyPassword(value *string) SetRegion(value *StandardRegions) SetReplicationChangeInProgress(value *bool) SetReplicationRegions(value []EdgeReplicationRegions) SetRewrite404To200(value *bool) SetStorageHostname(value *string) SetStorageUsed(value *int64) SetUserId(value *string) SetZoneTier(value *float64) }