// 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_DISABLEDFEATURE_OBJECT
#define LQTG_TYPE_DISABLEDFEATURE_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT DisabledFeatureObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(DisabledFeatureClassType)
    Q_PROPERTY(QString description READ description WRITE setDescription NOTIFY descriptionChanged)
    Q_PROPERTY(QString feature READ feature WRITE setFeature NOTIFY featureChanged)
    Q_PROPERTY(DisabledFeature core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum DisabledFeatureClassType {
        TypeDisabledFeature
    };

    DisabledFeatureObject(const DisabledFeature &core, QObject *parent = 0);
    DisabledFeatureObject(QObject *parent = 0);
    virtual ~DisabledFeatureObject();

    void setDescription(const QString &description);
    QString description() const;

    void setFeature(const QString &feature);
    QString feature() const;

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

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

    DisabledFeatureObject &operator =(const DisabledFeature &b);
    bool operator ==(const DisabledFeature &b) const;

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

private Q_SLOTS:

private:
    DisabledFeature m_core;
};

#endif // LQTG_TYPE_DISABLEDFEATURE_OBJECT
