diff --git a/ip.go b/ip.go index 82b5945..0827883 100644 --- a/ip.go +++ b/ip.go @@ -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. diff --git a/isoimage.go b/isoimage.go index 5e0f67a..a75072d 100644 --- a/isoimage.go +++ b/isoimage.go @@ -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"` } diff --git a/loadbalancer.go b/loadbalancer.go index 5f8bc34..2162095 100644 --- a/loadbalancer.go +++ b/loadbalancer.go @@ -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. diff --git a/paas.go b/paas.go index 3291495..7abbfe1 100644 --- a/paas.go +++ b/paas.go @@ -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. diff --git a/server.go b/server.go index dbef028..fcf8671 100644 --- a/server.go +++ b/server.go @@ -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. diff --git a/snapshot.go b/snapshot.go index 1048e12..62d27e7 100644 --- a/snapshot.go +++ b/snapshot.go @@ -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. diff --git a/storage.go b/storage.go index 3fe20c7..70c86eb 100644 --- a/storage.go +++ b/storage.go @@ -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. diff --git a/template.go b/template.go index 3b38dca..c14fd8c 100644 --- a/template.go +++ b/template.go @@ -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.