// 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_HELPAPPUPDATE_OBJECT
#define LQTG_TYPE_HELPAPPUPDATE_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT HelpAppUpdateObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(HelpAppUpdateClassType)
    Q_PROPERTY(bool critical READ critical WRITE setCritical NOTIFY criticalChanged)
    Q_PROPERTY(qint32 id READ id WRITE setId NOTIFY idChanged)
    Q_PROPERTY(QString text READ text WRITE setText NOTIFY textChanged)
    Q_PROPERTY(QString url READ url WRITE setUrl NOTIFY urlChanged)
    Q_PROPERTY(HelpAppUpdate core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum HelpAppUpdateClassType {
        TypeHelpAppUpdate,
        TypeHelpNoAppUpdate
    };

    HelpAppUpdateObject(const HelpAppUpdate &core, QObject *parent = 0);
    HelpAppUpdateObject(QObject *parent = 0);
    virtual ~HelpAppUpdateObject();

    void setCritical(bool critical);
    bool critical() const;

    void setId(qint32 id);
    qint32 id() const;

    void setText(const QString &text);
    QString text() const;

    void setUrl(const QString &url);
    QString url() const;

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

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

    HelpAppUpdateObject &operator =(const HelpAppUpdate &b);
    bool operator ==(const HelpAppUpdate &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void criticalChanged();
    void idChanged();
    void textChanged();
    void urlChanged();

private Q_SLOTS:

private:
    HelpAppUpdate m_core;
};

#endif // LQTG_TYPE_HELPAPPUPDATE_OBJECT
