// Generated by redfish-codegen. Do not modify.
/// The orientations for the ordering of the part location ordinal value.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum Orientation {
/// This value shall indicate the ordering for LocationOrdinalValue is front to back.
FrontToBack,
/// This value shall indicate the ordering for LocationOrdinalValue is back to front.
#[serde(rename = "BackToFront")]
BackToF,
/// This value shall indicate the ordering for LocationOrdinalValue is top to bottom.
TopToBottom,
/// This value shall indicate the ordering for LocationOrdinalValue is bottom to top.
BottomToTop,
/// This value shall indicate the ordering for LocationOrdinalValue is left to right.
LeftToRight,
/// This value shall indicate the ordering for LocationOrdinalValue is right to left.
RightToLeft,
}
#[allow(clippy::derivable_impls)]
impl Default for Orientation {
fn default() -> Orientation {
Orientation::FrontToBack
}
}
impl crate::Metadata<'static> for Orientation {
const JSON_SCHEMA: &'static str = "Resource.v1_12_3.json";
}