// 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_MESSAGESMESSAGEEDITDATA_OBJECT
#define LQTG_TYPE_MESSAGESMESSAGEEDITDATA_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT MessagesMessageEditDataObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(MessagesMessageEditDataClassType)
    Q_PROPERTY(bool caption READ caption WRITE setCaption NOTIFY captionChanged)
    Q_PROPERTY(qint32 flags READ flags WRITE setFlags NOTIFY flagsChanged)
    Q_PROPERTY(MessagesMessageEditData core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum MessagesMessageEditDataClassType {
        TypeMessagesMessageEditData
    };

    MessagesMessageEditDataObject(const MessagesMessageEditData &core, QObject *parent = 0);
    MessagesMessageEditDataObject(QObject *parent = 0);
    virtual ~MessagesMessageEditDataObject();

    void setCaption(bool caption);
    bool caption() const;

    void setFlags(qint32 flags);
    qint32 flags() const;

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

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

    MessagesMessageEditDataObject &operator =(const MessagesMessageEditData &b);
    bool operator ==(const MessagesMessageEditData &b) const;

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

private Q_SLOTS:

private:
    MessagesMessageEditData m_core;
};

#endif // LQTG_TYPE_MESSAGESMESSAGEEDITDATA_OBJECT
