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

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

/// JobACL represents an ACL policy's attachment to a job, group, or task.
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct JobACL {
    #[serde(rename = "Namespace")]
    pub namespace: String,

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

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

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