redfish_codegen/models/account_service/v1_13_0/
secur_id.rs

1// Generated by redfish-codegen. Do not modify.
2
3use crate::models;
4
5/// Various settings for RSA SecurID multi-factor authentication.
6#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
7#[derive(derivative::Derivative)]
8#[derivative(Default)]
9pub struct SecurID {
10    #[serde(rename = "Certificates")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub certificates: Option<models::odata_v4::IdRef>,
13    /// The client ID to use when communicating with the RSA SecurID server.
14    #[serde(rename = "ClientId")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub client_id: Option<String>,
17    /// The client secret to use when communicating with the RSA SecurID server.  This property is `null` in responses.
18    #[serde(rename = "ClientSecret")]
19    #[serde(default, skip_serializing_if = "Option::is_none")]
20    pub client_secret: Option<String>,
21    /// Indicates if the ClientSecret property is set.
22    #[serde(rename = "ClientSecretSet")]
23    #[serde(default, skip_serializing_if = "Option::is_none")]
24    pub client_secret_set: Option<bool>,
25    /// An indication of whether multi-factor authentication with RSA SecurID is enabled.
26    #[serde(rename = "Enabled")]
27    #[serde(default, skip_serializing_if = "Option::is_none")]
28    pub enabled: Option<bool>,
29    /// The URI of the RSA SecurID server.
30    #[serde(rename = "ServerURI")]
31    #[serde(default, skip_serializing_if = "Option::is_none")]
32    pub server_uri: Option<String>,
33}
34
35impl crate::Metadata<'static> for SecurID {
36    const JSON_SCHEMA: &'static str = "AccountService.v1_13_0.json";
37}