Skip to content

Commit

Permalink
add DEPRECATED notice to CurrentPrice field docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nvthongswansea authored and bkircher committed Mar 30, 2021
1 parent e4f69a0 commit cc75080
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type IPProperties struct {
// Total minutes the object has been running.
UsagesInMinutes float64 `json:"usage_in_minutes"`

// The price for the current period since the last bill.
// **DEPRECATED** The price for the current period since the last bill.
CurrentPrice float64 `json:"current_price"`

// List of labels.
Expand Down
2 changes: 1 addition & 1 deletion isoimage.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ type ISOImageProperties struct {
// The capacity of an ISO image in GB.
Capacity int `json:"capacity"`

// The price for the current period since the last bill.
// **DEPRECATED** The price for the current period since the last bill.
CurrentPrice float64 `json:"current_price"`
}

Expand Down
2 changes: 1 addition & 1 deletion loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type LoadBalancerProperties struct {
// Status indicates the status of the object.
Status string `json:"status"`

// The price for the current period since the last bill.
// **DEPRECATED** The price for the current period since the last bill.
CurrentPrice float64 `json:"current_price"`

// The human-readable name of the location. It supports the full UTF-8 character set, with a maximum of 64 characters.
Expand Down
2 changes: 1 addition & 1 deletion paas.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ type PaaSServiceProperties struct {
// Total minutes the object has been running.
UsageInMinutes int `json:"usage_in_minutes"`

// The price for the current period since the last bill.
// **DEPRECATED** The price for the current period since the last bill.
CurrentPrice float64 `json:"current_price"`

// Defines the date and time of the last object change.
Expand Down
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ type ServerProperties struct {
// The power status of the server.
Power bool `json:"power"`

// The price for the current period since the last bill.
// **DEPRECATED** The price for the current period since the last bill.
CurrentPrice float64 `json:"current_price"`

// Which Availability-Zone the Server is placed.
Expand Down
2 changes: 1 addition & 1 deletion snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ type StorageSnapshotProperties struct {
// this shows the product_no of the license (see the /prices endpoint for more details).
LicenseProductNo int `json:"license_product_no"`

// The price for the current period since the last bill.
// **DEPRECATED** The price for the current period since the last bill.
CurrentPrice float64 `json:"current_price"`

// Defines the date and time the object was initially created.
Expand Down
2 changes: 1 addition & 1 deletion storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type StorageProperties struct {
// Indicates the UUID of the last used template on this storage.
LastUsedTemplate string `json:"last_used_template"`

// The price for the current period since the last bill.
// **DEPRECATED** The price for the current period since the last bill.
CurrentPrice float64 `json:"current_price"`

// The capacity of a storage/ISO image/template/snapshot in GB.
Expand Down
2 changes: 1 addition & 1 deletion template.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type TemplateProperties struct {
// Description of the template.
Description string `json:"description"`

// The price for the current period since the last bill.
// **DEPRECATED** The price for the current period since the last bill.
CurrentPrice float64 `json:"current_price"`

// The human-readable name of the location. It supports the full UTF-8 character set, with a maximum of 64 characters.
Expand Down

0 comments on commit cc75080

Please sign in to comment.