use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListPricesResponsePricingFloatingIps {
#[serde(rename = "prices")]
pub prices: Vec<models::PricePerTimeMonthly>,
#[serde(rename = "type")]
pub r#type: models::IpType,
}
impl ListPricesResponsePricingFloatingIps {
pub fn new(
prices: Vec<models::PricePerTimeMonthly>,
r#type: models::IpType,
) -> ListPricesResponsePricingFloatingIps {
ListPricesResponsePricingFloatingIps { prices, r#type }
}
}