// 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_IMPORTEDCONTACT_OBJECT
#define LQTG_TYPE_IMPORTEDCONTACT_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT ImportedContactObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(ImportedContactClassType)
    Q_PROPERTY(qint64 clientId READ clientId WRITE setClientId NOTIFY clientIdChanged)
    Q_PROPERTY(qint32 userId READ userId WRITE setUserId NOTIFY userIdChanged)
    Q_PROPERTY(ImportedContact core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum ImportedContactClassType {
        TypeImportedContact
    };

    ImportedContactObject(const ImportedContact &core, QObject *parent = 0);
    ImportedContactObject(QObject *parent = 0);
    virtual ~ImportedContactObject();

    void setClientId(qint64 clientId);
    qint64 clientId() const;

    void setUserId(qint32 userId);
    qint32 userId() const;

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

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

    ImportedContactObject &operator =(const ImportedContact &b);
    bool operator ==(const ImportedContact &b) const;

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

private Q_SLOTS:

private:
    ImportedContact m_core;
};

#endif // LQTG_TYPE_IMPORTEDCONTACT_OBJECT
