Skip to main content

geoengine_api_client/models/
operator_quota.rs

1/*
2 * Geo Engine API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 0.9.0
7 * Contact: dev@geoengine.de
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 OperatorQuota {
16    #[serde(rename = "count")]
17    pub count: i64,
18    #[serde(rename = "operatorName")]
19    pub operator_name: String,
20    #[serde(rename = "operatorPath")]
21    pub operator_path: String,
22}
23
24impl OperatorQuota {
25    pub fn new(count: i64, operator_name: String, operator_path: String) -> OperatorQuota {
26        OperatorQuota {
27            count,
28            operator_name,
29            operator_path,
30        }
31    }
32}
33