/**
 * Deepin官网
 * deepin的官方网站后台接口
 *
 * The version of the OpenAPI document: 1.0
 * Contact: wurongjie@deepin.org
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

/*
 * DHFeedback_PublicViewResponse.h
 *
 * 
 */

#ifndef DHFeedback_PublicViewResponse_H
#define DHFeedback_PublicViewResponse_H

#include <QJsonObject>

#include <QString>

#include "DHEnum.h"
#include "DHObject.h"

namespace DeepinHomeAPI {

class DHFeedback_PublicViewResponse : public DHObject {
public:
    DHFeedback_PublicViewResponse();
    DHFeedback_PublicViewResponse(QString json);
    ~DHFeedback_PublicViewResponse() override;

    QString asJson() const override;
    QJsonObject asJsonObject() const override;
    void fromJsonObject(QJsonObject json) override;
    void fromJson(QString jsonString) override;

    QString getPublicId() const;
    void setPublicId(const QString &public_id);
    bool is_public_id_Set() const;
    bool is_public_id_Valid() const;

    qint32 getViewCount() const;
    void setViewCount(const qint32 &view_count);
    bool is_view_count_Set() const;
    bool is_view_count_Valid() const;

    virtual bool isSet() const override;
    virtual bool isValid() const override;

private:
    void initializeModel();

    QString public_id;
    bool m_public_id_isSet;
    bool m_public_id_isValid;

    qint32 view_count;
    bool m_view_count_isSet;
    bool m_view_count_isValid;
};

} // namespace DeepinHomeAPI

Q_DECLARE_METATYPE(DeepinHomeAPI::DHFeedback_PublicViewResponse)

#endif // DHFeedback_PublicViewResponse_H
