// 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_SHIPPINGOPTION_OBJECT
#define LQTG_TYPE_SHIPPINGOPTION_OBJECT

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

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT ShippingOptionObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(ShippingOptionClassType)
    Q_PROPERTY(QString id READ id WRITE setId NOTIFY idChanged)
    Q_PROPERTY(QList<LabeledPrice> prices READ prices WRITE setPrices NOTIFY pricesChanged)
    Q_PROPERTY(QString title READ title WRITE setTitle NOTIFY titleChanged)
    Q_PROPERTY(ShippingOption core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum ShippingOptionClassType {
        TypeShippingOption
    };

    ShippingOptionObject(const ShippingOption &core, QObject *parent = 0);
    ShippingOptionObject(QObject *parent = 0);
    virtual ~ShippingOptionObject();

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

    void setPrices(const QList<LabeledPrice> &prices);
    QList<LabeledPrice> prices() const;

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

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

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

    ShippingOptionObject &operator =(const ShippingOption &b);
    bool operator ==(const ShippingOption &b) const;

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

private Q_SLOTS:

private:
    ShippingOption m_core;
};

#endif // LQTG_TYPE_SHIPPINGOPTION_OBJECT
