// Generated by redfish-codegen. Do not modify.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum LogPurpose {
/// The log provides information for diagnosing hardware or software issues, such as error conditions, sensor threshold trips, or exception cases.
Diagnostic,
/// The log provides information about management operations that have a significant impact on the system, such as firmware updates, system resets, and storage volume creation.
Operations,
/// The log provides security-related information such as authentication, authorization, and data access logging required for security audits.
Security,
/// The log provides telemetry history, typically collected on a regular basis.
Telemetry,
/// The log exposes log entries provided by external entities, such as external users, system firmware, operating systems, or management applications.
ExternalEntity,
/// The log is used for an OEM-defined purpose.
OEM,
}
#[allow(clippy::derivable_impls)]
impl Default for LogPurpose {
fn default() -> LogPurpose {
LogPurpose::Diagnostic
}
}
impl crate::Metadata<'static> for LogPurpose {
const JSON_SCHEMA: &'static str = "LogService.v1_4_0.json";
}