nomad_client/models/
csi_controller_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 CsiControllerInfo {
16    #[serde(rename = "SupportsReadOnlyAttach", skip_serializing_if = "Option::is_none")]
17    pub supports_read_only_attach: Option<bool>,
18    #[serde(rename = "SupportsAttachDetach", skip_serializing_if = "Option::is_none")]
19    pub supports_attach_detach: Option<bool>,
20    #[serde(rename = "SupportsListVolumes", skip_serializing_if = "Option::is_none")]
21    pub supports_list_volumes: Option<bool>,
22    #[serde(rename = "SupportsListVolumesAttachedNodes", skip_serializing_if = "Option::is_none")]
23    pub supports_list_volumes_attached_nodes: Option<bool>,
24}
25
26impl CsiControllerInfo {
27    pub fn new() -> CsiControllerInfo {
28        CsiControllerInfo {
29            supports_read_only_attach: None,
30            supports_attach_detach: None,
31            supports_list_volumes: None,
32            supports_list_volumes_attached_nodes: None,
33        }
34    }
35}
36
37