blob: e4e02f842baaae70ba4258e4872c9badd623e9de [file] [log] [blame]
// NOLINTBEGIN
#pragma once
#include <cstdint>
#include <nlohmann/json.hpp>
namespace outlet_group
{
// clang-format off
enum class PowerState : std::uint8_t{
Invalid,
On,
Off,
PowerCycle,
};
NLOHMANN_JSON_SERIALIZE_ENUM(PowerState, {
{PowerState::Invalid, "Invalid"},
{PowerState::On, "On"},
{PowerState::Off, "Off"},
{PowerState::PowerCycle, "PowerCycle"},
});
} // namespace outlet_group
// clang-format on
// NOLINTEND