blob: 709cdd2ac9ded90bb462a8b929d8d05fd0cbe6c6 [file] [log] [blame]
#pragma once
#include <cstdint>
#include <nlohmann/json.hpp>
namespace license_service
{
// clang-format off
enum class TransferProtocolType : std::uint8_t{
Invalid,
CIFS,
FTP,
SFTP,
HTTP,
HTTPS,
SCP,
TFTP,
OEM,
NFS,
};
NLOHMANN_JSON_SERIALIZE_ENUM(TransferProtocolType, {
{TransferProtocolType::Invalid, "Invalid"},
{TransferProtocolType::CIFS, "CIFS"},
{TransferProtocolType::FTP, "FTP"},
{TransferProtocolType::SFTP, "SFTP"},
{TransferProtocolType::HTTP, "HTTP"},
{TransferProtocolType::HTTPS, "HTTPS"},
{TransferProtocolType::SCP, "SCP"},
{TransferProtocolType::TFTP, "TFTP"},
{TransferProtocolType::OEM, "OEM"},
{TransferProtocolType::NFS, "NFS"},
});
} // namespace license_service
// clang-format on