/*
 * 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 SingleRecommendationApplyResult {
    #[serde(rename = "Warnings")]
    pub warnings: String,

    #[serde(
        rename = "Recommendations",
        deserialize_with = "crate::deserialize_null_as_default"
    )]
    pub recommendations: Vec<String>,

    #[serde(rename = "Namespace")]
    pub namespace: String,

    #[serde(rename = "JobID")]
    pub job_id: String,

    #[serde(rename = "JobModifyIndex")]
    pub job_modify_index: u64,

    #[serde(rename = "EvalID")]
    pub eval_id: String,

    #[serde(rename = "EvalCreateIndex")]
    pub eval_create_index: u64,
}
