redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
// Generated by redfish-codegen. Do not modify.

use crate::models;

/// Various settings to parse a TACACS+ service.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
#[derive(derivative::Derivative)]
#[derivative(Default)]
pub struct TACACSplusService {
    /// Indicates the allowed TACACS+ password exchange protocols.
    #[serde(rename = "PasswordExchangeProtocols")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub password_exchange_protocols: Option<Vec<models::account_service::v1_12_0::TACACSplusPasswordExchangeProtocol>>,
    /// Indicates the name of the TACACS+ argument name in an authorization request.
    #[serde(rename = "PrivilegeLevelArgument")]
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub privilege_level_argument: Option<String>,
}

impl crate::Metadata<'static> for TACACSplusService {
    const JSON_SCHEMA: &'static str = "AccountService.v1_12_0.json";
}