1 #pragma once
2 #include <nlohmann/json.hpp>
3 
4 namespace resolution_step
5 {
6 // clang-format off
7 
8 enum class ResolutionType{
9     Invalid,
10     ContactVendor,
11     ReplaceComponent,
12     FirmwareUpdate,
13     Reset,
14     PowerCycle,
15     ResetToDefaults,
16     CollectDiagnosticData,
17     OEM,
18 };
19 
20 NLOHMANN_JSON_SERIALIZE_ENUM(ResolutionType, {
21     {ResolutionType::Invalid, "Invalid"},
22     {ResolutionType::ContactVendor, "ContactVendor"},
23     {ResolutionType::ReplaceComponent, "ReplaceComponent"},
24     {ResolutionType::FirmwareUpdate, "FirmwareUpdate"},
25     {ResolutionType::Reset, "Reset"},
26     {ResolutionType::PowerCycle, "PowerCycle"},
27     {ResolutionType::ResetToDefaults, "ResetToDefaults"},
28     {ResolutionType::CollectDiagnosticData, "CollectDiagnosticData"},
29     {ResolutionType::OEM, "OEM"},
30 });
31 
32 }
33 // clang-format on
34