1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
use serde::{Deserialize, Serialize}; /*
* Cloud DNS API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::google_rest_apis::dns_v1::models;
/// Project : A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console. Next tag: 7.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Project {
/// User assigned unique identifier for the resource (output only).
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<String>,
#[serde(rename = "kind", skip_serializing_if = "Option::is_none")]
pub kind: Option<String>,
/// Unique numeric identifier for the resource; defined by the server (output only).
#[serde(rename = "number", skip_serializing_if = "Option::is_none")]
pub number: Option<String>,
#[serde(rename = "quota", skip_serializing_if = "Option::is_none")]
pub quota: Option<Box<models::Quota>>,
}
impl Project {
/// A project resource. The project is a top level container for resources including Cloud DNS ManagedZones. Projects can be created only in the APIs console. Next tag: 7.
pub fn new() -> Project {
Project {
id: None,
kind: None,
number: None,
quota: None,
}
}
}