redfish_codegen/models/computer_system/v1_20_1/
boot_source_override_enabled.rs

1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum BootSourceOverrideEnabled {
6    /// The system boots normally.
7    Disabled,
8    /// On its next boot cycle, the system boots one time to the boot source override target.  Then, the BootSourceOverrideEnabled value is reset to `Disabled`.
9    Once,
10    /// The system boots to the target specified in the BootSourceOverrideTarget property until this property is `Disabled`.
11    Continuous,
12}
13
14#[allow(clippy::derivable_impls)]
15impl Default for BootSourceOverrideEnabled {
16     fn default() -> BootSourceOverrideEnabled {
17        BootSourceOverrideEnabled::Disabled
18     }
19}
20
21impl crate::Metadata<'static> for BootSourceOverrideEnabled {
22    const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.json";
23}