// 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_ACCOUNTDAYSTTL_OBJECT
#define LQTG_TYPE_ACCOUNTDAYSTTL_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT AccountDaysTTLObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(AccountDaysTTLClassType)
    Q_PROPERTY(qint32 days READ days WRITE setDays NOTIFY daysChanged)
    Q_PROPERTY(AccountDaysTTL core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum AccountDaysTTLClassType {
        TypeAccountDaysTTL
    };

    AccountDaysTTLObject(const AccountDaysTTL &core, QObject *parent = 0);
    AccountDaysTTLObject(QObject *parent = 0);
    virtual ~AccountDaysTTLObject();

    void setDays(qint32 days);
    qint32 days() const;

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

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

    AccountDaysTTLObject &operator =(const AccountDaysTTL &b);
    bool operator ==(const AccountDaysTTL &b) const;

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

private Q_SLOTS:

private:
    AccountDaysTTL m_core;
};

#endif // LQTG_TYPE_ACCOUNTDAYSTTL_OBJECT
