/*
 * 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 DesiredUpdates {
    #[serde(rename = "DestructiveUpdate")]
    pub destructive_update: u64,

    #[serde(rename = "Canary")]
    pub canary: u64,

    #[serde(rename = "Preemptions")]
    pub preemptions: u64,

    #[serde(rename = "Ignore")]
    pub ignore: u64,

    #[serde(rename = "Place")]
    pub place: u64,

    #[serde(rename = "Migrate")]
    pub migrate: u64,

    #[serde(rename = "Stop")]
    pub stop: u64,

    #[serde(rename = "InPlaceUpdate")]
    pub in_place_update: u64,
}
