redfish_codegen/models/zone/v1_6_1/external_accessibility.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum ExternalAccessibility {
6 /// This value shall indicate that any external entity with the correct access details, which may include authorization information, can access the endpoints that this zone lists, regardless of zone.
7 GloballyAccessible,
8 /// This value shall indicate that any external entity that another zone does not explicitly list can access the endpoints that this zone lists.
9 NonZonedAccessible,
10 /// This value shall indicate that endpoints in this zone are only accessible by endpoints that this zone explicitly lists.
11 ZoneOnly,
12 /// This value shall indicate that implicit routing within this zone is not defined.
13 NoInternalRouting,
14}
15
16#[allow(clippy::derivable_impls)]
17impl Default for ExternalAccessibility {
18 fn default() -> ExternalAccessibility {
19 ExternalAccessibility::GloballyAccessible
20 }
21}
22
23impl crate::Metadata<'static> for ExternalAccessibility {
24 const JSON_SCHEMA: &'static str = "Zone.v1_6_1.json";
25}