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

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

/// NodeMetaResponse contains the merged Node metadata.
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct NodeMetaResponse {
    /// Meta is the merged static + dynamic Node metadata
    #[serde(rename = "Meta")]
    pub meta: std::collections::HashMap<String, String>,

    /// Dynamic is the dynamic Node metadata (set via API)
    #[serde(rename = "Dynamic")]
    pub dynamic: std::collections::HashMap<String, String>,

    /// Static is the static Node metadata (set via agent configuration)
    #[serde(rename = "Static")]
    pub r#static: std::collections::HashMap<String, String>,
}
