redfish_codegen/models/zone/v1_6_1/zone_type.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum ZoneType {
6 /// This value shall indicate a zone in which all endpoints are added by default when instantiated. This value shall only be used for zones subordinate to the fabric collection.
7 Default,
8 /// This value shall indicate a zone that contains resources of type Endpoint. This value shall only be used for zones subordinate to the fabric collection.
9 ZoneOfEndpoints,
10 /// This value shall indicate a zone that contains resources of type Zone. This value shall only be used for zones subordinate to the fabric collection.
11 ZoneOfZones,
12 /// This value shall indicate a zone that contains resources of type ResourceBlock. This value shall only be used for zones subordinate to the composition service. Added in version v1_6_0.
13 ZoneOfResourceBlocks,
14}
15
16#[allow(clippy::derivable_impls)]
17impl Default for ZoneType {
18 fn default() -> ZoneType {
19 ZoneType::Default
20 }
21}
22
23impl crate::Metadata<'static> for ZoneType {
24 const JSON_SCHEMA: &'static str = "Zone.v1_6_1.json";
25}