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
// Generated by redfish-codegen. Do not modify.

use redfish_macros::IntoRedfishMessage;

/// This registry defines the messages to use for periodic heartbeat, also known as 'keep alive', events.
#[derive(Clone, Debug, IntoRedfishMessage)]
#[message(crate::models::message::v1_1_2::Message)]
pub enum HeartbeatEvent {
    /// This message shall be used to indicate that the Redfish service is functional.  This message shall only be sent if specifically requested by an event destination during the creation of a subscription using the `SendHeartbeatMinutes` property.
    #[message(message = "Redfish service is functional.")]
    #[message(id = "HeartbeatEvent.1.0.0.RedfishServiceFunctional")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    RedfishServiceFunctional,

}