// Generated by redfish-codegen. Do not modify.
/// Describes the options for the access characteristics of a resource.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum AccessState {
/// This value shall indicate the resource is in an active and optimized state.
Optimized,
/// This value shall indicate the resource is in an active and non-optimized state.
NonOptimized,
/// This value shall indicate the resource is in a standby state.
Standby,
/// This value shall indicate the resource is in an unavailable state.
Unavailable,
/// This value shall indicate the resource is transitioning to a new state.
Transitioning,
}
#[allow(clippy::derivable_impls)]
impl Default for AccessState {
fn default() -> AccessState {
AccessState::Optimized
}
}
impl crate::Metadata<'static> for AccessState {
const JSON_SCHEMA: &'static str = "Connection.v1_2_0.json";
}