redfish_codegen/models/aggregation_source/v1_3_1/
user_authentication_method.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum UserAuthenticationMethod {
6    /// This value shall indicate SSH user authentication with a public key specified by the PublicIdentityKey property in SSHSettings.
7    PublicKey,
8    /// This value shall indicate SSH user authentication with a password specified by the Password property.
9    Password,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for UserAuthenticationMethod {
14     fn default() -> UserAuthenticationMethod {
15        UserAuthenticationMethod::PublicKey
16     }
17}
18
19impl crate::Metadata<'static> for UserAuthenticationMethod {
20    const JSON_SCHEMA: &'static str = "AggregationSource.v1_3_1.json";
21}