xref: /openbmc/bmcweb/features/redfish/include/generated/enums/host_interface.hpp (revision 853c0dc5486bbab77b2d1f158152de93847c20d9)
1*853c0dc5SEd Tanous #pragma once
2*853c0dc5SEd Tanous #include <nlohmann/json.hpp>
3*853c0dc5SEd Tanous 
4*853c0dc5SEd Tanous namespace host_interface
5*853c0dc5SEd Tanous {
6*853c0dc5SEd Tanous // clang-format off
7*853c0dc5SEd Tanous 
8*853c0dc5SEd Tanous enum class HostInterfaceType{
9*853c0dc5SEd Tanous     Invalid,
10*853c0dc5SEd Tanous     NetworkHostInterface,
11*853c0dc5SEd Tanous };
12*853c0dc5SEd Tanous 
13*853c0dc5SEd Tanous enum class AuthenticationMode{
14*853c0dc5SEd Tanous     Invalid,
15*853c0dc5SEd Tanous     AuthNone,
16*853c0dc5SEd Tanous     BasicAuth,
17*853c0dc5SEd Tanous     RedfishSessionAuth,
18*853c0dc5SEd Tanous     OemAuth,
19*853c0dc5SEd Tanous };
20*853c0dc5SEd Tanous 
21*853c0dc5SEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(HostInterfaceType, {
22*853c0dc5SEd Tanous     {HostInterfaceType::Invalid, "Invalid"},
23*853c0dc5SEd Tanous     {HostInterfaceType::NetworkHostInterface, "NetworkHostInterface"},
24*853c0dc5SEd Tanous });
25*853c0dc5SEd Tanous 
26*853c0dc5SEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(AuthenticationMode, {
27*853c0dc5SEd Tanous     {AuthenticationMode::Invalid, "Invalid"},
28*853c0dc5SEd Tanous     {AuthenticationMode::AuthNone, "AuthNone"},
29*853c0dc5SEd Tanous     {AuthenticationMode::BasicAuth, "BasicAuth"},
30*853c0dc5SEd Tanous     {AuthenticationMode::RedfishSessionAuth, "RedfishSessionAuth"},
31*853c0dc5SEd Tanous     {AuthenticationMode::OemAuth, "OemAuth"},
32*853c0dc5SEd Tanous });
33*853c0dc5SEd Tanous 
34*853c0dc5SEd Tanous }
35*853c0dc5SEd Tanous // clang-format on
36