/**
 * 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_CreateFeedbackRequest.h
 *
 * 
 */

#ifndef DHFeedback_CreateFeedbackRequest_H
#define DHFeedback_CreateFeedbackRequest_H

#include <QJsonObject>

#include <QList>
#include <QString>

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

namespace DeepinHomeAPI {

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

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

    QString getContent() const;
    void setContent(const QString &content);
    bool is_content_Set() const;
    bool is_content_Valid() const;

    QString getEmail() const;
    void setEmail(const QString &email);
    bool is_email_Set() const;
    bool is_email_Valid() const;

    QString getLanguage() const;
    void setLanguage(const QString &language);
    bool is_language_Set() const;
    bool is_language_Valid() const;

    QList<QString> getScreenshots() const;
    void setScreenshots(const QList<QString> &screenshots);
    bool is_screenshots_Set() const;
    bool is_screenshots_Valid() const;

    QString getSystemInfo() const;
    void setSystemInfo(const QString &system_info);
    bool is_system_info_Set() const;
    bool is_system_info_Valid() const;

    QString getTitle() const;
    void setTitle(const QString &title);
    bool is_title_Set() const;
    bool is_title_Valid() const;

    QString getType() const;
    void setType(const QString &type);
    bool is_type_Set() const;
    bool is_type_Valid() const;

    QString getVersion() const;
    void setVersion(const QString &version);
    bool is_version_Set() const;
    bool is_version_Valid() const;

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

private:
    void initializeModel();

    QString content;
    bool m_content_isSet;
    bool m_content_isValid;

    QString email;
    bool m_email_isSet;
    bool m_email_isValid;

    QString language;
    bool m_language_isSet;
    bool m_language_isValid;

    QList<QString> screenshots;
    bool m_screenshots_isSet;
    bool m_screenshots_isValid;

    QString system_info;
    bool m_system_info_isSet;
    bool m_system_info_isValid;

    QString title;
    bool m_title_isSet;
    bool m_title_isValid;

    QString type;
    bool m_type_isSet;
    bool m_type_isValid;

    QString version;
    bool m_version_isSet;
    bool m_version_isValid;
};

} // namespace DeepinHomeAPI

Q_DECLARE_METATYPE(DeepinHomeAPI::DHFeedback_CreateFeedbackRequest)

#endif // DHFeedback_CreateFeedbackRequest_H
