xref: /openbmc/bmcweb/features/redfish/include/generated/enums/redfish_extensions.hpp (revision 0ec8b83db7e8629c721c0e632de702bf1018f58f)
1*0ec8b83dSEd Tanous #pragma once
2*0ec8b83dSEd Tanous #include <nlohmann/json.hpp>
3*0ec8b83dSEd Tanous 
4*0ec8b83dSEd Tanous namespace redfish_extensions
5*0ec8b83dSEd Tanous {
6*0ec8b83dSEd Tanous // clang-format off
7*0ec8b83dSEd Tanous 
8*0ec8b83dSEd Tanous enum class ReleaseStatusType{
9*0ec8b83dSEd Tanous     Invalid,
10*0ec8b83dSEd Tanous     Standard,
11*0ec8b83dSEd Tanous     Informational,
12*0ec8b83dSEd Tanous     WorkInProgress,
13*0ec8b83dSEd Tanous     InDevelopment,
14*0ec8b83dSEd Tanous };
15*0ec8b83dSEd Tanous 
16*0ec8b83dSEd Tanous enum class RevisionKind{
17*0ec8b83dSEd Tanous     Invalid,
18*0ec8b83dSEd Tanous     Added,
19*0ec8b83dSEd Tanous     Modified,
20*0ec8b83dSEd Tanous     Deprecated,
21*0ec8b83dSEd Tanous };
22*0ec8b83dSEd Tanous 
23*0ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(ReleaseStatusType, {
24*0ec8b83dSEd Tanous     {ReleaseStatusType::Invalid, "Invalid"},
25*0ec8b83dSEd Tanous     {ReleaseStatusType::Standard, "Standard"},
26*0ec8b83dSEd Tanous     {ReleaseStatusType::Informational, "Informational"},
27*0ec8b83dSEd Tanous     {ReleaseStatusType::WorkInProgress, "WorkInProgress"},
28*0ec8b83dSEd Tanous     {ReleaseStatusType::InDevelopment, "InDevelopment"},
29*0ec8b83dSEd Tanous });
30*0ec8b83dSEd Tanous 
31*0ec8b83dSEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(RevisionKind, {
32*0ec8b83dSEd Tanous     {RevisionKind::Invalid, "Invalid"},
33*0ec8b83dSEd Tanous     {RevisionKind::Added, "Added"},
34*0ec8b83dSEd Tanous     {RevisionKind::Modified, "Modified"},
35*0ec8b83dSEd Tanous     {RevisionKind::Deprecated, "Deprecated"},
36*0ec8b83dSEd Tanous });
37*0ec8b83dSEd Tanous 
38*0ec8b83dSEd Tanous }
39*0ec8b83dSEd Tanous // clang-format on
40