// 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_INPUTWEBFILELOCATION_OBJECT
#define LQTG_TYPE_INPUTWEBFILELOCATION_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT InputWebFileLocationObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(InputWebFileLocationClassType)
    Q_PROPERTY(qint64 accessHash READ accessHash WRITE setAccessHash NOTIFY accessHashChanged)
    Q_PROPERTY(QString url READ url WRITE setUrl NOTIFY urlChanged)
    Q_PROPERTY(InputWebFileLocation core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum InputWebFileLocationClassType {
        TypeInputWebFileLocation
    };

    InputWebFileLocationObject(const InputWebFileLocation &core, QObject *parent = 0);
    InputWebFileLocationObject(QObject *parent = 0);
    virtual ~InputWebFileLocationObject();

    void setAccessHash(qint64 accessHash);
    qint64 accessHash() const;

    void setUrl(const QString &url);
    QString url() const;

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

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

    InputWebFileLocationObject &operator =(const InputWebFileLocation &b);
    bool operator ==(const InputWebFileLocation &b) const;

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

private Q_SLOTS:

private:
    InputWebFileLocation m_core;
};

#endif // LQTG_TYPE_INPUTWEBFILELOCATION_OBJECT
