// 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_AUTHCHECKEDPHONE_OBJECT
#define LQTG_TYPE_AUTHCHECKEDPHONE_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT AuthCheckedPhoneObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(AuthCheckedPhoneClassType)
    Q_PROPERTY(bool phoneRegistered READ phoneRegistered WRITE setPhoneRegistered NOTIFY phoneRegisteredChanged)
    Q_PROPERTY(AuthCheckedPhone core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum AuthCheckedPhoneClassType {
        TypeAuthCheckedPhone
    };

    AuthCheckedPhoneObject(const AuthCheckedPhone &core, QObject *parent = 0);
    AuthCheckedPhoneObject(QObject *parent = 0);
    virtual ~AuthCheckedPhoneObject();

    void setPhoneRegistered(bool phoneRegistered);
    bool phoneRegistered() const;

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

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

    AuthCheckedPhoneObject &operator =(const AuthCheckedPhone &b);
    bool operator ==(const AuthCheckedPhone &b) const;

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

private Q_SLOTS:

private:
    AuthCheckedPhone m_core;
};

#endif // LQTG_TYPE_AUTHCHECKEDPHONE_OBJECT
