// 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_CHANNELSADMINLOGRESULTS_OBJECT
#define LQTG_TYPE_CHANNELSADMINLOGRESULTS_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT ChannelsAdminLogResultsObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(ChannelsAdminLogResultsClassType)
    Q_PROPERTY(QList<Chat> chats READ chats WRITE setChats NOTIFY chatsChanged)
    Q_PROPERTY(QList<ChannelAdminLogEvent> events READ events WRITE setEvents NOTIFY eventsChanged)
    Q_PROPERTY(QList<User> users READ users WRITE setUsers NOTIFY usersChanged)
    Q_PROPERTY(ChannelsAdminLogResults core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum ChannelsAdminLogResultsClassType {
        TypeChannelsAdminLogResults
    };

    ChannelsAdminLogResultsObject(const ChannelsAdminLogResults &core, QObject *parent = 0);
    ChannelsAdminLogResultsObject(QObject *parent = 0);
    virtual ~ChannelsAdminLogResultsObject();

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

    void setEvents(const QList<ChannelAdminLogEvent> &events);
    QList<ChannelAdminLogEvent> events() const;

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

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

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

    ChannelsAdminLogResultsObject &operator =(const ChannelsAdminLogResults &b);
    bool operator ==(const ChannelsAdminLogResults &b) const;

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

private Q_SLOTS:

private:
    ChannelsAdminLogResults m_core;
};

#endif // LQTG_TYPE_CHANNELSADMINLOGRESULTS_OBJECT
