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::log_service
19 {
20 const Header header = {
21     "Copyright 2020-2023 DMTF. All rights reserved.",
22     "#MessageRegistry.v1_6_2.MessageRegistry",
23     "LogService.1.0.1",
24     "Log Service Message Registry",
25     "en",
26     "This registry defines the messages for log service related events.",
27     "LogService",
28     "1.0.1",
29     "DMTF",
30 };
31 constexpr const char* url =
32     "https://redfish.dmtf.org/registries/LogService.1.0.1.json";
33 
34 constexpr std::array registry =
35 {
36     MessageEntry{
37         "DiagnosticDataCollected",
38         {
39             "Indicates that diagnostic data was collected due to a client invoking the `CollectDiagnosticData` action.",
40             "'%1' diagnostic data collected.",
41             "OK",
42             1,
43             {
44                 "string",
45             },
46             "None.",
47         }},
48 
49 };
50 
51 enum class Index
52 {
53     diagnosticDataCollected = 0,
54 };
55 } // namespace redfish::registries::log_service
56