/*
* Kubernetes
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.27.5+k3s1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// IoCattleManagementv3ProjectSpecResourceQuota : ResourceQuota is a specification for the total amount of quota for standard resources that will be shared by all namespaces in the project. Must provide NamespaceDefaultResourceQuota if ResourceQuota is specified. See https://kubernetes.io/docs/concepts/policy/resource-quotas/ for more details.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct IoCattleManagementv3ProjectSpecResourceQuota {
#[serde(rename = "limit", skip_serializing_if = "Option::is_none")]
pub limit: Option<models::IoCattleManagementv3ProjectSpecResourceQuotaLimit>,
#[serde(rename = "usedLimit", skip_serializing_if = "Option::is_none")]
pub used_limit: Option<models::IoCattleManagementv3ProjectSpecResourceQuotaUsedLimit>,
}
impl IoCattleManagementv3ProjectSpecResourceQuota {
/// ResourceQuota is a specification for the total amount of quota for standard resources that will be shared by all namespaces in the project. Must provide NamespaceDefaultResourceQuota if ResourceQuota is specified. See https://kubernetes.io/docs/concepts/policy/resource-quotas/ for more details.
pub fn new() -> IoCattleManagementv3ProjectSpecResourceQuota {
IoCattleManagementv3ProjectSpecResourceQuota {
limit: None,
used_limit: None,
}
}
}