xref: /openbmc/bmcweb/features/redfish/include/generated/enums/resolution_step.hpp (revision 40e9b92ec19acffb46f83a6e55b18974da5d708e)
1*40e9b92eSEd Tanous // SPDX-License-Identifier: Apache-2.0
2*40e9b92eSEd Tanous // SPDX-FileCopyrightText: Copyright OpenBMC Authors
32ae81db9SGunnar Mills #pragma once
42ae81db9SGunnar Mills #include <nlohmann/json.hpp>
52ae81db9SGunnar Mills 
62ae81db9SGunnar Mills namespace resolution_step
72ae81db9SGunnar Mills {
82ae81db9SGunnar Mills // clang-format off
92ae81db9SGunnar Mills 
102ae81db9SGunnar Mills enum class ResolutionType{
112ae81db9SGunnar Mills     Invalid,
122ae81db9SGunnar Mills     ContactVendor,
132ae81db9SGunnar Mills     ReplaceComponent,
142ae81db9SGunnar Mills     FirmwareUpdate,
152ae81db9SGunnar Mills     Reset,
162ae81db9SGunnar Mills     PowerCycle,
172ae81db9SGunnar Mills     ResetToDefaults,
182ae81db9SGunnar Mills     CollectDiagnosticData,
192ae81db9SGunnar Mills     OEM,
202ae81db9SGunnar Mills };
212ae81db9SGunnar Mills 
222ae81db9SGunnar Mills NLOHMANN_JSON_SERIALIZE_ENUM(ResolutionType, {
232ae81db9SGunnar Mills     {ResolutionType::Invalid, "Invalid"},
242ae81db9SGunnar Mills     {ResolutionType::ContactVendor, "ContactVendor"},
252ae81db9SGunnar Mills     {ResolutionType::ReplaceComponent, "ReplaceComponent"},
262ae81db9SGunnar Mills     {ResolutionType::FirmwareUpdate, "FirmwareUpdate"},
272ae81db9SGunnar Mills     {ResolutionType::Reset, "Reset"},
282ae81db9SGunnar Mills     {ResolutionType::PowerCycle, "PowerCycle"},
292ae81db9SGunnar Mills     {ResolutionType::ResetToDefaults, "ResetToDefaults"},
302ae81db9SGunnar Mills     {ResolutionType::CollectDiagnosticData, "CollectDiagnosticData"},
312ae81db9SGunnar Mills     {ResolutionType::OEM, "OEM"},
322ae81db9SGunnar Mills });
332ae81db9SGunnar Mills 
342ae81db9SGunnar Mills }
352ae81db9SGunnar Mills // clang-format on
36