nomad_client_rs/models/
csi_plugin_list_stub.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct CsiPluginListStub {
5    #[serde(rename = "ControllerRequired", skip_serializing_if = "Option::is_none")]
6    pub controller_required: Option<bool>,
7    #[serde(
8        rename = "ControllersExpected",
9        skip_serializing_if = "Option::is_none"
10    )]
11    pub controllers_expected: Option<i32>,
12    #[serde(rename = "ControllersHealthy", skip_serializing_if = "Option::is_none")]
13    pub controllers_healthy: Option<i32>,
14    #[serde(rename = "CreateIndex", skip_serializing_if = "Option::is_none")]
15    pub create_index: Option<i32>,
16    #[serde(rename = "ID", skip_serializing_if = "Option::is_none")]
17    pub id: Option<String>,
18    #[serde(rename = "ModifyIndex", skip_serializing_if = "Option::is_none")]
19    pub modify_index: Option<i32>,
20    #[serde(rename = "NodesExpected", skip_serializing_if = "Option::is_none")]
21    pub nodes_expected: Option<i32>,
22    #[serde(rename = "NodesHealthy", skip_serializing_if = "Option::is_none")]
23    pub nodes_healthy: Option<i32>,
24    #[serde(rename = "Provider", skip_serializing_if = "Option::is_none")]
25    pub provider: Option<String>,
26}