// 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_CONTACTSTOPPEERS_OBJECT
#define LQTG_TYPE_CONTACTSTOPPEERS_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT ContactsTopPeersObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(ContactsTopPeersClassType)
    Q_PROPERTY(QList<TopPeerCategoryPeers> categories READ categories WRITE setCategories NOTIFY categoriesChanged)
    Q_PROPERTY(QList<Chat> chats READ chats WRITE setChats NOTIFY chatsChanged)
    Q_PROPERTY(QList<User> users READ users WRITE setUsers NOTIFY usersChanged)
    Q_PROPERTY(ContactsTopPeers core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum ContactsTopPeersClassType {
        TypeContactsTopPeersNotModified,
        TypeContactsTopPeers
    };

    ContactsTopPeersObject(const ContactsTopPeers &core, QObject *parent = 0);
    ContactsTopPeersObject(QObject *parent = 0);
    virtual ~ContactsTopPeersObject();

    void setCategories(const QList<TopPeerCategoryPeers> &categories);
    QList<TopPeerCategoryPeers> categories() const;

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

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

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

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

    ContactsTopPeersObject &operator =(const ContactsTopPeers &b);
    bool operator ==(const ContactsTopPeers &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void categoriesChanged();
    void chatsChanged();
    void usersChanged();

private Q_SLOTS:

private:
    ContactsTopPeers m_core;
};

#endif // LQTG_TYPE_CONTACTSTOPPEERS_OBJECT
