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