summaryrefslogtreecommitdiff
path: root/redfish-core/include/registries/heartbeat_event_message_registry.hpp
blob: 71d5b033517a1dd0b833308f4076da7f6a2c41ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#pragma once
/****************************************************************
 *                 READ THIS WARNING FIRST
 * This is an auto-generated header which contains definitions
 * for Redfish DMTF defined messages.
 * DO NOT modify this registry outside of running the
 * parse_registries.py script.  The definitions contained within
 * this file are owned by DMTF.  Any modifications to these files
 * should be first pushed to the relevant registry in the DMTF
 * github organization.
 ***************************************************************/
#include "registries.hpp"

#include <array>

// clang-format off

namespace redfish::registries::heartbeat_event
{
const Header header = {
    "Copyright 2021-2023 DMTF. All rights reserved.",
    "#MessageRegistry.v1_6_2.MessageRegistry",
    "HeartbeatEvent.1.0.1",
    "Heartbeat Event Message Registry",
    "en",
    "This registry defines the messages to use for periodic heartbeat, also known as 'keep alive', events.",
    "HeartbeatEvent",
    "1.0.1",
    "DMTF",
};
constexpr const char* url =
    "https://redfish.dmtf.org/registries/HeartbeatEvent.1.0.1.json";

constexpr std::array registry =
{
    MessageEntry{
        "RedfishServiceFunctional",
        {
            "An event sent periodically upon request to indicates that the Redfish service is functional.",
            "Redfish service is functional.",
            "OK",
            0,
            {},
            "None.",
        }},

};

enum class Index
{
    redfishServiceFunctional = 0,
};
} // namespace redfish::registries::heartbeat_event