Skip to main content

windmill_api/models/
get_cloud_quotas_200_response.rs

1/*
2 * Windmill API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.662.0
7 * Contact: contact@windmill.dev
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct GetCloudQuotas200Response {
16    #[serde(rename = "scripts")]
17    pub scripts: Box<models::QuotaInfo>,
18    #[serde(rename = "flows")]
19    pub flows: Box<models::QuotaInfo>,
20    #[serde(rename = "apps")]
21    pub apps: Box<models::QuotaInfo>,
22    #[serde(rename = "variables")]
23    pub variables: Box<models::QuotaInfo>,
24    #[serde(rename = "resources")]
25    pub resources: Box<models::QuotaInfo>,
26}
27
28impl GetCloudQuotas200Response {
29    pub fn new(scripts: models::QuotaInfo, flows: models::QuotaInfo, apps: models::QuotaInfo, variables: models::QuotaInfo, resources: models::QuotaInfo) -> GetCloudQuotas200Response {
30        GetCloudQuotas200Response {
31            scripts: Box::new(scripts),
32            flows: Box::new(flows),
33            apps: Box::new(apps),
34            variables: Box::new(variables),
35            resources: Box::new(resources),
36        }
37    }
38}
39