use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ListAllowancesResponse {
#[serde(rename = "allowances", skip_serializing_if = "Option::is_none")]
pub allowances: Option<Vec<models::WorkspaceAllowance>>,
#[serde(rename = "plan", skip_serializing_if = "Option::is_none")]
pub plan: Option<models::PricingPlanId>,
}
impl ListAllowancesResponse {
pub fn new() -> ListAllowancesResponse {
ListAllowancesResponse {
allowances: None,
plan: None,
}
}
}