// Generated by redfish-codegen. Do not modify.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum AutomaticRetryConfig {
/// This value shall indicate that automatic retrying of booting is disabled.
Disabled,
/// This value shall indicate that the number of retries of booting is based on the AutomaticRetryAttempts property, and the RemainingAutomaticRetryAttempts property indicates the number of remaining attempts.
RetryAttempts,
/// This value shall indicate that the system will always automatically retry booting.
RetryAlways,
}
#[allow(clippy::derivable_impls)]
impl Default for AutomaticRetryConfig {
fn default() -> AutomaticRetryConfig {
AutomaticRetryConfig::Disabled
}
}
impl crate::Metadata<'static> for AutomaticRetryConfig {
const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_0.json";
}