// 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_CONTACTLINK_OBJECT
#define LQTG_TYPE_CONTACTLINK_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT ContactLinkObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(ContactLinkClassType)
    Q_PROPERTY(ContactLink core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum ContactLinkClassType {
        TypeContactLinkUnknown,
        TypeContactLinkNone,
        TypeContactLinkHasPhone,
        TypeContactLinkContact
    };

    ContactLinkObject(const ContactLink &core, QObject *parent = 0);
    ContactLinkObject(QObject *parent = 0);
    virtual ~ContactLinkObject();

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

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

    ContactLinkObject &operator =(const ContactLink &b);
    bool operator ==(const ContactLink &b) const;

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

private Q_SLOTS:

private:
    ContactLink m_core;
};

#endif // LQTG_TYPE_CONTACTLINK_OBJECT
