/*
 * This is an auto-generated file.
 * Any manual changes may be overwritten without notice!
 */

use derive_builder::Builder;
use serde::{Deserialize, Serialize};

/// NodeEligibilityUpdateResponse is used to respond to a node eligibility update
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct NodeEligibilityUpdateResponse {
    #[serde(rename = "NodeModifyIndex")]
    pub node_modify_index: u64,

    #[serde(
        rename = "EvalIDs",
        deserialize_with = "crate::deserialize_null_as_default"
    )]
    pub eval_i_ds: Vec<String>,

    #[serde(rename = "EvalCreateIndex")]
    pub eval_create_index: u64,
}
