redfish_codegen/models/external_account_provider/v1_6_0/
tacac_splus_service.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// Various settings to parse a TACACS+ service.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct TACACSplusService {
10    /// The TACACS+ service authorization argument.
11    #[serde(rename = "AuthorizationService")]
12    #[serde(default, skip_serializing_if = "Option::is_none")]
13    pub authorization_service: Option<String>,
14    #[serde(rename = "Oem")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub oem: Option<models::resource::Oem>,
17    /// Indicates the allowed TACACS+ password exchange protocols.
18    #[serde(rename = "PasswordExchangeProtocols")]
19    #[serde(default, skip_serializing_if = "Option::is_none")]
20    pub password_exchange_protocols: Option<Vec<models::external_account_provider::v1_6_0::TACACSplusPasswordExchangeProtocol>>,
21    /// Indicates the name of the TACACS+ argument name in an authorization request.
22    #[serde(rename = "PrivilegeLevelArgument")]
23    #[serde(default, skip_serializing_if = "Option::is_none")]
24    pub privilege_level_argument: Option<String>,
25}
26
27impl crate::Metadata<'static> for TACACSplusService {
28    const JSON_SCHEMA: &'static str = "ExternalAccountProvider.v1_6_0.json";
29}