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

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

/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct HostDiskStats {
    #[serde(rename = "InodesUsedPercent")]
    pub inodes_used_percent: f64,

    #[serde(rename = "Device")]
    pub device: String,

    #[serde(rename = "Mountpoint")]
    pub mountpoint: String,

    #[serde(rename = "Size")]
    pub size: u64,

    #[serde(rename = "Used")]
    pub used: u64,

    #[serde(rename = "Available")]
    pub available: u64,

    #[serde(rename = "UsedPercent")]
    pub used_percent: f64,
}
