| #pragma once |
| #include <cstdint> |
| #include <nlohmann/json.hpp> |
| |
| namespace redfish_extensions |
| { |
| // clang-format off |
| |
| enum class ReleaseStatusType : std::uint8_t{ |
| Invalid, |
| Standard, |
| Informational, |
| WorkInProgress, |
| InDevelopment, |
| }; |
| |
| enum class RevisionKind : std::uint8_t{ |
| Invalid, |
| Added, |
| Modified, |
| Deprecated, |
| }; |
| |
| NLOHMANN_JSON_SERIALIZE_ENUM(ReleaseStatusType, { |
| {ReleaseStatusType::Invalid, "Invalid"}, |
| {ReleaseStatusType::Standard, "Standard"}, |
| {ReleaseStatusType::Informational, "Informational"}, |
| {ReleaseStatusType::WorkInProgress, "WorkInProgress"}, |
| {ReleaseStatusType::InDevelopment, "InDevelopment"}, |
| }); |
| |
| NLOHMANN_JSON_SERIALIZE_ENUM(RevisionKind, { |
| {RevisionKind::Invalid, "Invalid"}, |
| {RevisionKind::Added, "Added"}, |
| {RevisionKind::Modified, "Modified"}, |
| {RevisionKind::Deprecated, "Deprecated"}, |
| }); |
| |
| } // namespace redfish_extensions |
| // clang-format on |