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

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

/// EphemeralDisk is an ephemeral disk object
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct EphemeralDisk {
    #[serde(rename = "Sticky", skip_serializing_if = "Option::is_none")]
    pub sticky: Option<bool>,

    #[serde(rename = "Migrate", skip_serializing_if = "Option::is_none")]
    pub migrate: Option<bool>,

    #[serde(rename = "size", skip_serializing_if = "Option::is_none")]
    pub size_mb: Option<i64>,
}
