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