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

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

/// TaskGroup summarizes the state of all the allocations of a particular
/// TaskGroup
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct TaskGroupSummary {
    #[serde(rename = "Queued")]
    pub queued: i64,

    #[serde(rename = "Complete")]
    pub complete: i64,

    #[serde(rename = "Failed")]
    pub failed: i64,

    #[serde(rename = "Running")]
    pub running: i64,

    #[serde(rename = "Starting")]
    pub starting: i64,

    #[serde(rename = "Lost")]
    pub lost: i64,

    #[serde(rename = "Unknown")]
    pub unknown: i64,
}
