xref: /openbmc/bmcweb/redfish-core/include/generated/enums/open_bmc_computer_system.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 open_bmc_computer_system
7 {
8 // clang-format off
9 
10 enum class FirmwareProvisioningStatus{
11     Invalid,
12     NotProvisioned,
13     ProvisionedButNotLocked,
14     ProvisionedAndLocked,
15 };
16 
17 NLOHMANN_JSON_SERIALIZE_ENUM(FirmwareProvisioningStatus, {
18     {FirmwareProvisioningStatus::Invalid, "Invalid"},
19     {FirmwareProvisioningStatus::NotProvisioned, "NotProvisioned"},
20     {FirmwareProvisioningStatus::ProvisionedButNotLocked, "ProvisionedButNotLocked"},
21     {FirmwareProvisioningStatus::ProvisionedAndLocked, "ProvisionedAndLocked"},
22 });
23 
24 }
25 // clang-format on
26