Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DEPRECATED notice to CurrentPrice field docs #196

Merged
merged 1 commit into from
Mar 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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