1 #pragma once
2 #include <nlohmann/json.hpp>
3 
4 namespace session
5 {
6 // clang-format off
7 
8 enum class SessionTypes{
9     Invalid,
10     HostConsole,
11     ManagerConsole,
12     IPMI,
13     KVMIP,
14     OEM,
15     Redfish,
16     VirtualMedia,
17     WebUI,
18     OutboundConnection,
19 };
20 
21 NLOHMANN_JSON_SERIALIZE_ENUM(SessionTypes, {
22     {SessionTypes::Invalid, "Invalid"},
23     {SessionTypes::HostConsole, "HostConsole"},
24     {SessionTypes::ManagerConsole, "ManagerConsole"},
25     {SessionTypes::IPMI, "IPMI"},
26     {SessionTypes::KVMIP, "KVMIP"},
27     {SessionTypes::OEM, "OEM"},
28     {SessionTypes::Redfish, "Redfish"},
29     {SessionTypes::VirtualMedia, "VirtualMedia"},
30     {SessionTypes::WebUI, "WebUI"},
31     {SessionTypes::OutboundConnection, "OutboundConnection"},
32 });
33 
34 }
35 // clang-format on
36