// 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_PEERNOTIFYEVENTS_OBJECT
#define LQTG_TYPE_PEERNOTIFYEVENTS_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT PeerNotifyEventsObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(PeerNotifyEventsClassType)
    Q_PROPERTY(PeerNotifyEvents core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum PeerNotifyEventsClassType {
        TypePeerNotifyEventsEmpty,
        TypePeerNotifyEventsAll
    };

    PeerNotifyEventsObject(const PeerNotifyEvents &core, QObject *parent = 0);
    PeerNotifyEventsObject(QObject *parent = 0);
    virtual ~PeerNotifyEventsObject();

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

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

    PeerNotifyEventsObject &operator =(const PeerNotifyEvents &b);
    bool operator ==(const PeerNotifyEvents &b) const;

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

private Q_SLOTS:

private:
    PeerNotifyEvents m_core;
};

#endif // LQTG_TYPE_PEERNOTIFYEVENTS_OBJECT
