redfish_codegen/models/computer_system/v1_20_1/
automatic_retry_config.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum AutomaticRetryConfig {
6    /// This value shall indicate that automatic retrying of booting is disabled.
7    Disabled,
8    /// 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.
9    RetryAttempts,
10    /// This value shall indicate that the system will always automatically retry booting.
11    RetryAlways,
12}
13
14#[allow(clippy::derivable_impls)]
15impl Default for AutomaticRetryConfig {
16     fn default() -> AutomaticRetryConfig {
17        AutomaticRetryConfig::Disabled
18     }
19}
20
21impl crate::Metadata<'static> for AutomaticRetryConfig {
22    const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.json";
23}