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