// This file generated by libqtelegram-code-generator.
// You can download it from: https://github.com/Aseman-Land/libqtelegram-code-generator
// DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

#ifndef LQTG_TYPE_INPUTENCRYPTEDFILE_OBJECT
#define LQTG_TYPE_INPUTENCRYPTEDFILE_OBJECT

#include "telegramtypeqobject.h"
#include "telegram/types/inputencryptedfile.h"

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT InputEncryptedFileObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(InputEncryptedFileClassType)
    Q_PROPERTY(qint64 accessHash READ accessHash WRITE setAccessHash NOTIFY accessHashChanged)
    Q_PROPERTY(qint64 id READ id WRITE setId NOTIFY idChanged)
    Q_PROPERTY(qint32 keyFingerprint READ keyFingerprint WRITE setKeyFingerprint NOTIFY keyFingerprintChanged)
    Q_PROPERTY(QString md5Checksum READ md5Checksum WRITE setMd5Checksum NOTIFY md5ChecksumChanged)
    Q_PROPERTY(qint32 parts READ parts WRITE setParts NOTIFY partsChanged)
    Q_PROPERTY(InputEncryptedFile core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum InputEncryptedFileClassType {
        TypeInputEncryptedFileEmpty,
        TypeInputEncryptedFileUploaded,
        TypeInputEncryptedFile,
        TypeInputEncryptedFileBigUploaded
    };

    InputEncryptedFileObject(const InputEncryptedFile &core, QObject *parent = 0);
    InputEncryptedFileObject(QObject *parent = 0);
    virtual ~InputEncryptedFileObject();

    void setAccessHash(qint64 accessHash);
    qint64 accessHash() const;

    void setId(qint64 id);
    qint64 id() const;

    void setKeyFingerprint(qint32 keyFingerprint);
    qint32 keyFingerprint() const;

    void setMd5Checksum(const QString &md5Checksum);
    QString md5Checksum() const;

    void setParts(qint32 parts);
    qint32 parts() const;

    void setClassType(quint32 classType);
    quint32 classType() const;

    void setCore(const InputEncryptedFile &core);
    InputEncryptedFile core() const;

    InputEncryptedFileObject &operator =(const InputEncryptedFile &b);
    bool operator ==(const InputEncryptedFile &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void accessHashChanged();
    void idChanged();
    void keyFingerprintChanged();
    void md5ChecksumChanged();
    void partsChanged();

private Q_SLOTS:

private:
    InputEncryptedFile m_core;
};

#endif // LQTG_TYPE_INPUTENCRYPTEDFILE_OBJECT
