/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.2.0
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetCloudQuotas200Response {
    #[serde(rename = "scripts")]
    pub scripts: Box<models::QuotaInfo>,
    #[serde(rename = "flows")]
    pub flows: Box<models::QuotaInfo>,
    #[serde(rename = "apps")]
    pub apps: Box<models::QuotaInfo>,
    #[serde(rename = "variables")]
    pub variables: Box<models::QuotaInfo>,
    #[serde(rename = "resources")]
    pub resources: Box<models::QuotaInfo>,
}

impl GetCloudQuotas200Response {
    pub fn new(scripts: models::QuotaInfo, flows: models::QuotaInfo, apps: models::QuotaInfo, variables: models::QuotaInfo, resources: models::QuotaInfo) -> GetCloudQuotas200Response {
        GetCloudQuotas200Response {
            scripts: Box::new(scripts),
            flows: Box::new(flows),
            apps: Box::new(apps),
            variables: Box::new(variables),
            resources: Box::new(resources),
        }
    }
}

