// 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_MESSAGESSTICKERSET_OBJECT
#define LQTG_TYPE_MESSAGESSTICKERSET_OBJECT

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

#include <QPointer>
#include "stickersetobject.h"

class LIBQTELEGRAMSHARED_EXPORT MessagesStickerSetObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(MessagesStickerSetClassType)
    Q_PROPERTY(QList<Document> documents READ documents WRITE setDocuments NOTIFY documentsChanged)
    Q_PROPERTY(QList<StickerPack> packs READ packs WRITE setPacks NOTIFY packsChanged)
    Q_PROPERTY(StickerSetObject* set READ set WRITE setSet NOTIFY setChanged)
    Q_PROPERTY(MessagesStickerSet core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum MessagesStickerSetClassType {
        TypeMessagesStickerSet
    };

    MessagesStickerSetObject(const MessagesStickerSet &core, QObject *parent = 0);
    MessagesStickerSetObject(QObject *parent = 0);
    virtual ~MessagesStickerSetObject();

    void setDocuments(const QList<Document> &documents);
    QList<Document> documents() const;

    void setPacks(const QList<StickerPack> &packs);
    QList<StickerPack> packs() const;

    void setSet(StickerSetObject* set);
    StickerSetObject* set() const;

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

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

    MessagesStickerSetObject &operator =(const MessagesStickerSet &b);
    bool operator ==(const MessagesStickerSet &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void documentsChanged();
    void packsChanged();
    void setChanged();

private Q_SLOTS:
    void coreSetChanged();

private:
    QPointer<StickerSetObject> m_set;
    MessagesStickerSet m_core;
};

#endif // LQTG_TYPE_MESSAGESSTICKERSET_OBJECT
