// 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_AUTHCODETYPE_OBJECT
#define LQTG_TYPE_AUTHCODETYPE_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT AuthCodeTypeObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(AuthCodeTypeClassType)
    Q_PROPERTY(AuthCodeType core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum AuthCodeTypeClassType {
        TypeAuthCodeTypeSms,
        TypeAuthCodeTypeCall,
        TypeAuthCodeTypeFlashCall
    };

    AuthCodeTypeObject(const AuthCodeType &core, QObject *parent = 0);
    AuthCodeTypeObject(QObject *parent = 0);
    virtual ~AuthCodeTypeObject();

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

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

    AuthCodeTypeObject &operator =(const AuthCodeType &b);
    bool operator ==(const AuthCodeType &b) const;

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

private Q_SLOTS:

private:
    AuthCodeType m_core;
};

#endif // LQTG_TYPE_AUTHCODETYPE_OBJECT
