// 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_INPUTCONTACT_OBJECT
#define LQTG_TYPE_INPUTCONTACT_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT InputContactObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(InputContactClassType)
    Q_PROPERTY(qint64 clientId READ clientId WRITE setClientId NOTIFY clientIdChanged)
    Q_PROPERTY(QString firstName READ firstName WRITE setFirstName NOTIFY firstNameChanged)
    Q_PROPERTY(QString lastName READ lastName WRITE setLastName NOTIFY lastNameChanged)
    Q_PROPERTY(QString phone READ phone WRITE setPhone NOTIFY phoneChanged)
    Q_PROPERTY(InputContact core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum InputContactClassType {
        TypeInputPhoneContact
    };

    InputContactObject(const InputContact &core, QObject *parent = 0);
    InputContactObject(QObject *parent = 0);
    virtual ~InputContactObject();

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

    void setFirstName(const QString &firstName);
    QString firstName() const;

    void setLastName(const QString &lastName);
    QString lastName() const;

    void setPhone(const QString &phone);
    QString phone() const;

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

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

    InputContactObject &operator =(const InputContact &b);
    bool operator ==(const InputContact &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void clientIdChanged();
    void firstNameChanged();
    void lastNameChanged();
    void phoneChanged();

private Q_SLOTS:

private:
    InputContact m_core;
};

#endif // LQTG_TYPE_INPUTCONTACT_OBJECT
