1 #pragma once 2 /**************************************************************** 3 * READ THIS WARNING FIRST 4 * This is an auto-generated header which contains definitions 5 * for Redfish DMTF defined messages. 6 * DO NOT modify this registry outside of running the 7 * parse_registries.py script. The definitions contained within 8 * this file are owned by DMTF. Any modifications to these files 9 * should be first pushed to the relevant registry in the DMTF 10 * github organization. 11 ***************************************************************/ 12 #include "registries.hpp" 13 14 #include <array> 15 16 // clang-format off 17 18 namespace redfish::registries::heartbeat_event 19 { 20 const Header header = { 21 "Copyright 2021-2023 DMTF. All rights reserved.", 22 "#MessageRegistry.v1_6_2.MessageRegistry", 23 "HeartbeatEvent.1.0.1", 24 "Heartbeat Event Message Registry", 25 "en", 26 "This registry defines the messages to use for periodic heartbeat, also known as 'keep alive', events.", 27 "HeartbeatEvent", 28 "1.0.1", 29 "DMTF", 30 }; 31 constexpr const char* url = 32 "https://redfish.dmtf.org/registries/HeartbeatEvent.1.0.1.json"; 33 34 constexpr std::array registry = 35 { 36 MessageEntry{ 37 "RedfishServiceFunctional", 38 { 39 "An event sent periodically upon request to indicates that the Redfish service is functional.", 40 "Redfish service is functional.", 41 "OK", 42 0, 43 {}, 44 "None.", 45 }}, 46 47 }; 48 49 enum class Index 50 { 51 redfishServiceFunctional = 0, 52 }; 53 } // namespace redfish::registries::heartbeat_event 54