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

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

/// ACLLoginRequest is the request object to begin auth with an external bearer
/// token provider.
///
/// This struct was generated based on the Go types of the official Nomad API.
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, Builder)]
pub struct ACLLoginRequest {
    /// LoginToken is the token used to login. This is a required parameter.
    #[serde(rename = "LoginToken")]
    pub login_token: String,

    /// AuthMethodName is the name of the auth method being used to login. This
    /// is a required parameter.
    #[serde(rename = "AuthMethodName")]
    pub auth_method_name: String,
}
