redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Generated by redfish-codegen. Do not modify.

use redfish_macros::IntoRedfishMessage;

/// This registry defines the messages for log service related events
#[derive(Clone, Debug, IntoRedfishMessage)]
#[message(crate::models::message::v1_1_2::Message)]
pub enum LogService {
    /// This message shall be used to indicate that diagnostic data has been collected due to a client invoking the `CollectDiagnosticData` action.
    #[message(message = "'%1' diagnostic data collected.")]
    #[message(id = "LogService.1.0.0.DiagnosticDataCollected")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    DiagnosticDataCollected(
        /// The value of this argument shall be a string containing the `DiagnosticDataType` parameter provided by the client when the `CollectDiagnosticData` action was invoked.
        String,
    ),
}