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

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

/// ACLAuthMethodListStub is the stub object returned when performing a listing
/// of ACL auth-methods. It is intentionally minimal due to the unauthenticated
/// nature of the list endpoint.
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct ACLAuthMethodListStub {
    #[serde(rename = "Name")]
    pub name: String,

    #[serde(rename = "Type")]
    pub r#type: String,

    #[serde(rename = "Default")]
    pub default: bool,

    #[serde(rename = "CreateIndex")]
    pub create_index: u64,

    #[serde(rename = "ModifyIndex")]
    pub modify_index: u64,
}
