redfish_codegen/models/storage/v1_15_0/auto_volume_create.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum AutoVolumeCreate {
6 /// Do not automatically create volumes.
7 Disabled,
8 /// Automatically create non-RAID volumes.
9 NonRAID,
10 /// Automatically create RAID0 volumes.
11 RAID0,
12 /// Automatically create RAID1 volumes.
13 RAID1,
14}
15
16#[allow(clippy::derivable_impls)]
17impl Default for AutoVolumeCreate {
18 fn default() -> AutoVolumeCreate {
19 AutoVolumeCreate::Disabled
20 }
21}
22
23impl crate::Metadata<'static> for AutoVolumeCreate {
24 const JSON_SCHEMA: &'static str = "Storage.v1_15_0.json";
25}