redfish_codegen/models/storage/v1_15_0/reset_to_defaults_type.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum ResetToDefaultsType {
6 /// Reset all settings to factory defaults and remove all volumes.
7 ResetAll,
8 /// Reset all settings to factory defaults but preserve the configured volumes on the controllers.
9 PreserveVolumes,
10}
11
12#[allow(clippy::derivable_impls)]
13impl Default for ResetToDefaultsType {
14 fn default() -> ResetToDefaultsType {
15 ResetToDefaultsType::ResetAll
16 }
17}
18
19impl crate::Metadata<'static> for ResetToDefaultsType {
20 const JSON_SCHEMA: &'static str = "Storage.v1_15_0.json";
21}