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