xref: /openbmc/bmcweb/redfish-core/include/generated/enums/message_registry.hpp (revision 40e9b92ec19acffb46f83a6e55b18974da5d708e)
1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
3 #pragma once
4 #include <nlohmann/json.hpp>
5 
6 namespace message_registry
7 {
8 // clang-format off
9 
10 enum class ParamType{
11     Invalid,
12     string,
13     number,
14 };
15 
16 enum class ClearingType{
17     Invalid,
18     SameOriginOfCondition,
19 };
20 
21 NLOHMANN_JSON_SERIALIZE_ENUM(ParamType, {
22     {ParamType::Invalid, "Invalid"},
23     {ParamType::string, "string"},
24     {ParamType::number, "number"},
25 });
26 
27 NLOHMANN_JSON_SERIALIZE_ENUM(ClearingType, {
28     {ClearingType::Invalid, "Invalid"},
29     {ClearingType::SameOriginOfCondition, "SameOriginOfCondition"},
30 });
31 
32 }
33 // clang-format on
34