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

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

/// HostNetworkInfo is used to return metadata about a given HostNetwork
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct HostNetworkInfo {
    #[serde(rename = "Name")]
    pub name: String,

    #[serde(rename = "CIDR")]
    pub cidr: String,

    #[serde(rename = "Interface")]
    pub interface: String,

    #[serde(rename = "ReservedPorts")]
    pub reserved_ports: String,
}
