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