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

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

/// ACLRolePolicyLink is used to link a policy to an ACL role. We use a struct
/// rather than a list of strings as in the future we will want to add IDs to
/// policies and then link via these.
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct AclRolePolicyLink {
    /// Name is the ACLPolicy.Name value which will be linked to the ACL role.
    #[serde(rename = "Name")]
    pub name: String,
}
