blob: 07a247afc1c73815350453f80c04436cb70a9f91 [file] [log] [blame]
#pragma once
#include <cstdint>
#include <nlohmann/json.hpp>
namespace session
{
// clang-format off
enum class SessionTypes : std::uint8_t{
Invalid,
HostConsole,
ManagerConsole,
IPMI,
KVMIP,
OEM,
Redfish,
VirtualMedia,
WebUI,
};
NLOHMANN_JSON_SERIALIZE_ENUM(SessionTypes, {
{SessionTypes::Invalid, "Invalid"},
{SessionTypes::HostConsole, "HostConsole"},
{SessionTypes::ManagerConsole, "ManagerConsole"},
{SessionTypes::IPMI, "IPMI"},
{SessionTypes::KVMIP, "KVMIP"},
{SessionTypes::OEM, "OEM"},
{SessionTypes::Redfish, "Redfish"},
{SessionTypes::VirtualMedia, "VirtualMedia"},
{SessionTypes::WebUI, "WebUI"},
});
} // namespace session
// clang-format on