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