// 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_MESSAGESDIALOGS_OBJECT
#define LQTG_TYPE_MESSAGESDIALOGS_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT MessagesDialogsObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(MessagesDialogsClassType)
    Q_PROPERTY(QList<Chat> chats READ chats WRITE setChats NOTIFY chatsChanged)
    Q_PROPERTY(qint32 count READ count WRITE setCount NOTIFY countChanged)
    Q_PROPERTY(QList<Dialog> dialogs READ dialogs WRITE setDialogs NOTIFY dialogsChanged)
    Q_PROPERTY(QList<Message> messages READ messages WRITE setMessages NOTIFY messagesChanged)
    Q_PROPERTY(QList<User> users READ users WRITE setUsers NOTIFY usersChanged)
    Q_PROPERTY(MessagesDialogs core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum MessagesDialogsClassType {
        TypeMessagesDialogs,
        TypeMessagesDialogsSlice
    };

    MessagesDialogsObject(const MessagesDialogs &core, QObject *parent = 0);
    MessagesDialogsObject(QObject *parent = 0);
    virtual ~MessagesDialogsObject();

    void setChats(const QList<Chat> &chats);
    QList<Chat> chats() const;

    void setCount(qint32 count);
    qint32 count() const;

    void setDialogs(const QList<Dialog> &dialogs);
    QList<Dialog> dialogs() const;

    void setMessages(const QList<Message> &messages);
    QList<Message> messages() const;

    void setUsers(const QList<User> &users);
    QList<User> users() const;

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

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

    MessagesDialogsObject &operator =(const MessagesDialogs &b);
    bool operator ==(const MessagesDialogs &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void chatsChanged();
    void countChanged();
    void dialogsChanged();
    void messagesChanged();
    void usersChanged();

private Q_SLOTS:

private:
    MessagesDialogs m_core;
};

#endif // LQTG_TYPE_MESSAGESDIALOGS_OBJECT
