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