nomad_client/models/
node_drain_update_response.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 NodeDrainUpdateResponse {
16    #[serde(rename = "NodeModifyIndex", skip_serializing_if = "Option::is_none")]
17    pub node_modify_index: Option<i32>,
18    #[serde(rename = "EvalIDs", skip_serializing_if = "Option::is_none")]
19    pub eval_ids: Option<Vec<String>>,
20    #[serde(rename = "EvalCreateIndex", skip_serializing_if = "Option::is_none")]
21    pub eval_create_index: Option<i32>,
22}
23
24impl NodeDrainUpdateResponse {
25    pub fn new() -> NodeDrainUpdateResponse {
26        NodeDrainUpdateResponse {
27            node_modify_index: None,
28            eval_ids: None,
29            eval_create_index: None,
30        }
31    }
32}
33
34