Skip to main content

harbor_api/models/
quota_update_req.rs

1/*
2 * Harbor API
3 *
4 * These APIs provide services for manipulating Harbor project.
5 *
6 * The version of the OpenAPI document: 2.0
7 * 
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 QuotaUpdateReq {
16    #[serde(rename = "hard", skip_serializing_if = "Option::is_none")]
17    pub hard: Option<std::collections::HashMap<String, i64>>,
18}
19
20impl QuotaUpdateReq {
21    pub fn new() -> QuotaUpdateReq {
22        QuotaUpdateReq {
23            hard: None,
24        }
25    }
26}
27