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 };
19 
20 NLOHMANN_JSON_SERIALIZE_ENUM(SessionTypes, {
21     {SessionTypes::Invalid, "Invalid"},
22     {SessionTypes::HostConsole, "HostConsole"},
23     {SessionTypes::ManagerConsole, "ManagerConsole"},
24     {SessionTypes::IPMI, "IPMI"},
25     {SessionTypes::KVMIP, "KVMIP"},
26     {SessionTypes::OEM, "OEM"},
27     {SessionTypes::Redfish, "Redfish"},
28     {SessionTypes::VirtualMedia, "VirtualMedia"},
29     {SessionTypes::WebUI, "WebUI"},
30 });
31 
32 }
33 // clang-format on
34