// 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_HELPTERMSOFSERVICE_OBJECT
#define LQTG_TYPE_HELPTERMSOFSERVICE_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT HelpTermsOfServiceObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(HelpTermsOfServiceClassType)
    Q_PROPERTY(QString text READ text WRITE setText NOTIFY textChanged)
    Q_PROPERTY(HelpTermsOfService core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum HelpTermsOfServiceClassType {
        TypeHelpTermsOfService
    };

    HelpTermsOfServiceObject(const HelpTermsOfService &core, QObject *parent = 0);
    HelpTermsOfServiceObject(QObject *parent = 0);
    virtual ~HelpTermsOfServiceObject();

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

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

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

    HelpTermsOfServiceObject &operator =(const HelpTermsOfService &b);
    bool operator ==(const HelpTermsOfService &b) const;

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

private Q_SLOTS:

private:
    HelpTermsOfService m_core;
};

#endif // LQTG_TYPE_HELPTERMSOFSERVICE_OBJECT
