/*
* Hetzner Cloud API
*
* Copied from the official API documentation for the Public Hetzner Cloud.
*
* The version of the OpenAPI document: 0.28.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// ListPricesResponsePricingFloatingIp : Price of Floating IPs. **Deprecated**: This field is deprecated, please refer to the `floating_ips` field instead. See the [Changelog](https://docs.hetzner.cloud/changelog#2024-08-29-field-floating_ip-in-pricing-response-is-now-deprecated) for more details.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListPricesResponsePricingFloatingIp {
#[serde(rename = "price_monthly")]
pub price_monthly: Box<models::Price>,
}
impl ListPricesResponsePricingFloatingIp {
/// Price of Floating IPs. **Deprecated**: This field is deprecated, please refer to the `floating_ips` field instead. See the [Changelog](https://docs.hetzner.cloud/changelog#2024-08-29-field-floating_ip-in-pricing-response-is-now-deprecated) for more details.
pub fn new(price_monthly: models::Price) -> ListPricesResponsePricingFloatingIp {
ListPricesResponsePricingFloatingIp {
price_monthly: Box::new(price_monthly),
}
}
}