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

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

/// AllocCheckStatus contains the current status of a nomad service discovery check.
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct AllocCheckStatus {
    #[serde(rename = "Status")]
    pub status: String,

    #[serde(rename = "StatusCode")]
    pub status_code: i64,

    #[serde(rename = "ID")]
    pub id: String,

    #[serde(rename = "Check")]
    pub check: String,

    #[serde(rename = "Group")]
    pub group: String,

    #[serde(rename = "Output")]
    pub output: String,

    #[serde(rename = "Task")]
    pub task: String,

    #[serde(rename = "Mode")]
    pub mode: String,

    #[serde(rename = "Service")]
    pub service: String,

    #[serde(rename = "Timestamp")]
    pub timestamp: i64,
}
