// 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_LANGPACKDIFFERENCE_OBJECT
#define LQTG_TYPE_LANGPACKDIFFERENCE_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT LangPackDifferenceObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(LangPackDifferenceClassType)
    Q_PROPERTY(qint32 fromVersion READ fromVersion WRITE setFromVersion NOTIFY fromVersionChanged)
    Q_PROPERTY(QString langCode READ langCode WRITE setLangCode NOTIFY langCodeChanged)
    Q_PROPERTY(QList<LangPackString> strings READ strings WRITE setStrings NOTIFY stringsChanged)
    Q_PROPERTY(qint32 version READ version WRITE setVersion NOTIFY versionChanged)
    Q_PROPERTY(LangPackDifference core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum LangPackDifferenceClassType {
        TypeLangPackDifference
    };

    LangPackDifferenceObject(const LangPackDifference &core, QObject *parent = 0);
    LangPackDifferenceObject(QObject *parent = 0);
    virtual ~LangPackDifferenceObject();

    void setFromVersion(qint32 fromVersion);
    qint32 fromVersion() const;

    void setLangCode(const QString &langCode);
    QString langCode() const;

    void setStrings(const QList<LangPackString> &strings);
    QList<LangPackString> strings() const;

    void setVersion(qint32 version);
    qint32 version() const;

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

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

    LangPackDifferenceObject &operator =(const LangPackDifference &b);
    bool operator ==(const LangPackDifference &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void fromVersionChanged();
    void langCodeChanged();
    void stringsChanged();
    void versionChanged();

private Q_SLOTS:

private:
    LangPackDifference m_core;
};

#endif // LQTG_TYPE_LANGPACKDIFFERENCE_OBJECT
