redfish_codegen/models/connection/v1_2_0/
dhchap_key.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4/// The DHCHAP-specific permission key information for this connection.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6#[derive(derivative::Derivative)]
7#[derivative(Default)]
8pub struct DHCHAPKey {
9    /// The local DHCHAP authentication secret.  The value is `null` in responses.
10    #[serde(rename = "LocalDHCHAPAuthSecret")]
11    #[serde(default, skip_serializing_if = "Option::is_none")]
12    pub local_dhchap_auth_secret: Option<String>,
13    /// The peer DHCHAP authentication secret.  The value is `null` in responses.
14    #[serde(rename = "PeerDHCHAPAuthSecret")]
15    #[serde(default, skip_serializing_if = "Option::is_none")]
16    pub peer_dhchap_auth_secret: Option<String>,
17}
18
19impl crate::Metadata<'static> for DHCHAPKey {
20    const JSON_SCHEMA: &'static str = "Connection.v1_2_0.json";
21}