Files
amnezia-client/client/core/models/protocols/sftpProtocolConfig.h
T

23 lines
375 B
C++
Raw Normal View History

#ifndef SFTPPROTOCOLCONFIG_H
#define SFTPPROTOCOLCONFIG_H
#include <QJsonObject>
#include <QString>
namespace amnezia
{
struct SftpProtocolConfig {
QString port;
QString userName;
QString password;
QJsonObject toJson() const;
static SftpProtocolConfig fromJson(const QJsonObject& json);
};
} // namespace amnezia
#endif // SFTPPROTOCOLCONFIG_H