// 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_PAYMENTSAVEDCREDENTIALS_OBJECT
#define LQTG_TYPE_PAYMENTSAVEDCREDENTIALS_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT PaymentSavedCredentialsObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(PaymentSavedCredentialsClassType)
    Q_PROPERTY(QString id READ id WRITE setId NOTIFY idChanged)
    Q_PROPERTY(QString title READ title WRITE setTitle NOTIFY titleChanged)
    Q_PROPERTY(PaymentSavedCredentials core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum PaymentSavedCredentialsClassType {
        TypePaymentSavedCredentialsCard
    };

    PaymentSavedCredentialsObject(const PaymentSavedCredentials &core, QObject *parent = 0);
    PaymentSavedCredentialsObject(QObject *parent = 0);
    virtual ~PaymentSavedCredentialsObject();

    void setId(const QString &id);
    QString id() const;

    void setTitle(const QString &title);
    QString title() const;

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

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

    PaymentSavedCredentialsObject &operator =(const PaymentSavedCredentials &b);
    bool operator ==(const PaymentSavedCredentials &b) const;

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

private Q_SLOTS:

private:
    PaymentSavedCredentials m_core;
};

#endif // LQTG_TYPE_PAYMENTSAVEDCREDENTIALS_OBJECT
