linkbreakers 1.149.2

Official Rust SDK for the Linkbreakers API
Documentation
/*
 * Linkbreakers API
 *
 * This is a documentation of all the APIs of Linkbreakers
 *
 * The version of the OpenAPI document: 1.149.2
 * 
 * Generated by: https://openapi-generator.tech
 */

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>>,
    /// The plan the limits come from. A trial or sponsored workspace reports the plan it is allowed what of.
    #[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,
        }
    }
}