// 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_ACCOUNTPASSWORDSETTINGS_OBJECT
#define LQTG_TYPE_ACCOUNTPASSWORDSETTINGS_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT AccountPasswordSettingsObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(AccountPasswordSettingsClassType)
    Q_PROPERTY(QString email READ email WRITE setEmail NOTIFY emailChanged)
    Q_PROPERTY(AccountPasswordSettings core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum AccountPasswordSettingsClassType {
        TypeAccountPasswordSettings
    };

    AccountPasswordSettingsObject(const AccountPasswordSettings &core, QObject *parent = 0);
    AccountPasswordSettingsObject(QObject *parent = 0);
    virtual ~AccountPasswordSettingsObject();

    void setEmail(const QString &email);
    QString email() const;

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

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

    AccountPasswordSettingsObject &operator =(const AccountPasswordSettings &b);
    bool operator ==(const AccountPasswordSettings &b) const;

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

private Q_SLOTS:

private:
    AccountPasswordSettings m_core;
};

#endif // LQTG_TYPE_ACCOUNTPASSWORDSETTINGS_OBJECT
