1 #pragma once 2 #include <nlohmann/json.hpp> 3 4 namespace open_bmc_computer_system 5 { 6 // clang-format off 7 8 enum class FirmwareProvisioningStatus{ 9 Invalid, 10 NotProvisioned, 11 ProvisionedButNotLocked, 12 ProvisionedAndLocked, 13 }; 14 15 NLOHMANN_JSON_SERIALIZE_ENUM(FirmwareProvisioningStatus, { 16 {FirmwareProvisioningStatus::Invalid, "Invalid"}, 17 {FirmwareProvisioningStatus::NotProvisioned, "NotProvisioned"}, 18 {FirmwareProvisioningStatus::ProvisionedButNotLocked, "ProvisionedButNotLocked"}, 19 {FirmwareProvisioningStatus::ProvisionedAndLocked, "ProvisionedAndLocked"}, 20 }); 21 22 } 23 // clang-format on 24