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

/*
 * DHHandlers_ClientMessagesResponse.h
 *
 * 
 */

#ifndef DHHandlers_ClientMessagesResponse_H
#define DHHandlers_ClientMessagesResponse_H

#include <QJsonObject>

#include <QString>

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

namespace DeepinHomeAPI {

class DHHandlers_ClientMessagesResponse : public DHObject {
public:
    DHHandlers_ClientMessagesResponse();
    DHHandlers_ClientMessagesResponse(QString json);
    ~DHHandlers_ClientMessagesResponse() 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 getEndAt() const;
    void setEndAt(const QString &end_at);
    bool is_end_at_Set() const;
    bool is_end_at_Valid() const;

    bool isNotify() const;
    void setNotify(const bool &notify);
    bool is_notify_Set() const;
    bool is_notify_Valid() const;

    QString getStartAt() const;
    void setStartAt(const QString &start_at);
    bool is_start_at_Set() const;
    bool is_start_at_Valid() const;

    QString getSummary() const;
    void setSummary(const QString &summary);
    bool is_summary_Set() const;
    bool is_summary_Valid() const;

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

    bool isTop() const;
    void setTop(const bool &top);
    bool is_top_Set() const;
    bool is_top_Valid() const;

    QString getUrl() const;
    void setUrl(const QString &url);
    bool is_url_Set() const;
    bool is_url_Valid() const;

    QString getUuid() const;
    void setUuid(const QString &uuid);
    bool is_uuid_Set() const;
    bool is_uuid_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 end_at;
    bool m_end_at_isSet;
    bool m_end_at_isValid;

    bool notify;
    bool m_notify_isSet;
    bool m_notify_isValid;

    QString start_at;
    bool m_start_at_isSet;
    bool m_start_at_isValid;

    QString summary;
    bool m_summary_isSet;
    bool m_summary_isValid;

    QString title;
    bool m_title_isSet;
    bool m_title_isValid;

    bool top;
    bool m_top_isSet;
    bool m_top_isValid;

    QString url;
    bool m_url_isSet;
    bool m_url_isValid;

    QString uuid;
    bool m_uuid_isSet;
    bool m_uuid_isValid;
};

} // namespace DeepinHomeAPI

Q_DECLARE_METATYPE(DeepinHomeAPI::DHHandlers_ClientMessagesResponse)

#endif // DHHandlers_ClientMessagesResponse_H
