// Generated by redfish-codegen. Do not modify.
/// The enumerations of HostingRoles specify different features that the hosting ComputerSystem supports.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum HostingRole {
/// The system hosts functionality that supports general purpose applications.
ApplicationServer,
/// The system hosts functionality that supports the system acting as a storage server.
StorageServer,
/// The system hosts functionality that supports the system acting as a switch.
Switch,
/// The system hosts functionality that supports the system acting as an appliance. Added in version v1_10_0.
Appliance,
/// The system hosts functionality that supports the system acting as a bare metal server. Added in version v1_10_0.
BareMetalServer,
/// The system hosts functionality that supports the system acting as a virtual machine server. Added in version v1_10_0.
VirtualMachineServer,
/// The system hosts functionality that supports the system acting as a container server. Added in version v1_10_0.
ContainerServer,
}
#[allow(clippy::derivable_impls)]
impl Default for HostingRole {
fn default() -> HostingRole {
HostingRole::ApplicationServer
}
}
impl crate::Metadata<'static> for HostingRole {
const JSON_SCHEMA: &'static str = "ComputerSystem.v1_20_1.json";
}