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

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

/// ParameterizedJobConfig is used to configure the parameterized job.
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct ParameterizedJobConfig {
    #[serde(rename = "Payload")]
    pub payload: String,

    #[serde(rename = "meta_required", skip_serializing_if = "Option::is_none")]
    pub meta_required: Option<Vec<String>>,

    #[serde(rename = "meta_optional", skip_serializing_if = "Option::is_none")]
    pub meta_optional: Option<Vec<String>>,
}
