nomad_client/models/
csi_node_info.rs

1/*
2 * Nomad
3 *
4 * Nomad OpenApi specification
5 *
6 * The version of the OpenAPI document: 0.11.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CsiNodeInfo {
16    #[serde(rename = "ID", skip_serializing_if = "Option::is_none")]
17    pub ID: Option<String>,
18    #[serde(rename = "MaxVolumes", skip_serializing_if = "Option::is_none")]
19    pub max_volumes: Option<i64>,
20    #[serde(rename = "AccessibleTopology", skip_serializing_if = "Option::is_none")]
21    pub accessible_topology: Option<Box<crate::models::CsiTopology>>,
22    #[serde(rename = "RequiresNodeStageVolume", skip_serializing_if = "Option::is_none")]
23    pub requires_node_stage_volume: Option<bool>,
24}
25
26impl CsiNodeInfo {
27    pub fn new() -> CsiNodeInfo {
28        CsiNodeInfo {
29            ID: None,
30            max_volumes: None,
31            accessible_topology: None,
32            requires_node_stage_volume: None,
33        }
34    }
35}
36
37