// 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_AUTHPASSWORDRECOVERY_OBJECT
#define LQTG_TYPE_AUTHPASSWORDRECOVERY_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT AuthPasswordRecoveryObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(AuthPasswordRecoveryClassType)
    Q_PROPERTY(QString emailPattern READ emailPattern WRITE setEmailPattern NOTIFY emailPatternChanged)
    Q_PROPERTY(AuthPasswordRecovery core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum AuthPasswordRecoveryClassType {
        TypeAuthPasswordRecovery
    };

    AuthPasswordRecoveryObject(const AuthPasswordRecovery &core, QObject *parent = 0);
    AuthPasswordRecoveryObject(QObject *parent = 0);
    virtual ~AuthPasswordRecoveryObject();

    void setEmailPattern(const QString &emailPattern);
    QString emailPattern() const;

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

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

    AuthPasswordRecoveryObject &operator =(const AuthPasswordRecovery &b);
    bool operator ==(const AuthPasswordRecovery &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void emailPatternChanged();

private Q_SLOTS:

private:
    AuthPasswordRecovery m_core;
};

#endif // LQTG_TYPE_AUTHPASSWORDRECOVERY_OBJECT
