// 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_MESSAGESHIGHSCORES_OBJECT
#define LQTG_TYPE_MESSAGESHIGHSCORES_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT MessagesHighScoresObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(MessagesHighScoresClassType)
    Q_PROPERTY(QList<HighScore> scores READ scores WRITE setScores NOTIFY scoresChanged)
    Q_PROPERTY(QList<User> users READ users WRITE setUsers NOTIFY usersChanged)
    Q_PROPERTY(MessagesHighScores core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum MessagesHighScoresClassType {
        TypeMessagesHighScores
    };

    MessagesHighScoresObject(const MessagesHighScores &core, QObject *parent = 0);
    MessagesHighScoresObject(QObject *parent = 0);
    virtual ~MessagesHighScoresObject();

    void setScores(const QList<HighScore> &scores);
    QList<HighScore> scores() const;

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

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

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

    MessagesHighScoresObject &operator =(const MessagesHighScores &b);
    bool operator ==(const MessagesHighScores &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void scoresChanged();
    void usersChanged();

private Q_SLOTS:

private:
    MessagesHighScores m_core;
};

#endif // LQTG_TYPE_MESSAGESHIGHSCORES_OBJECT
