105 lines
2.2 KiB
C++
105 lines
2.2 KiB
C++
/**
|
|
* Jungfraujoch
|
|
* Jungfraujoch Broker Web API
|
|
*
|
|
* The version of the OpenAPI document: 1.0.1
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
|
|
#include "Radial_integration_plots_inner.h"
|
|
#include "Helpers.h"
|
|
|
|
#include <sstream>
|
|
|
|
namespace org::openapitools::server::model
|
|
{
|
|
|
|
Radial_integration_plots_inner::Radial_integration_plots_inner()
|
|
{
|
|
m_Title = "";
|
|
|
|
}
|
|
|
|
void Radial_integration_plots_inner::validate() const
|
|
{
|
|
std::stringstream msg;
|
|
if (!validate(msg))
|
|
{
|
|
throw org::openapitools::server::helpers::ValidationException(msg.str());
|
|
}
|
|
}
|
|
|
|
bool Radial_integration_plots_inner::validate(std::stringstream& msg) const
|
|
{
|
|
return validate(msg, "");
|
|
}
|
|
|
|
bool Radial_integration_plots_inner::validate(std::stringstream& msg, const std::string& pathPrefix) const
|
|
{
|
|
bool success = true;
|
|
const std::string _pathPrefix = pathPrefix.empty() ? "Radial_integration_plots_inner" : pathPrefix;
|
|
|
|
|
|
return success;
|
|
}
|
|
|
|
bool Radial_integration_plots_inner::operator==(const Radial_integration_plots_inner& rhs) const
|
|
{
|
|
return
|
|
|
|
|
|
(getTitle() == rhs.getTitle())
|
|
&&
|
|
|
|
(getPlot() == rhs.getPlot())
|
|
|
|
|
|
;
|
|
}
|
|
|
|
bool Radial_integration_plots_inner::operator!=(const Radial_integration_plots_inner& rhs) const
|
|
{
|
|
return !(*this == rhs);
|
|
}
|
|
|
|
void to_json(nlohmann::json& j, const Radial_integration_plots_inner& o)
|
|
{
|
|
j = nlohmann::json();
|
|
j["title"] = o.m_Title;
|
|
j["plot"] = o.m_Plot;
|
|
|
|
}
|
|
|
|
void from_json(const nlohmann::json& j, Radial_integration_plots_inner& o)
|
|
{
|
|
j.at("title").get_to(o.m_Title);
|
|
j.at("plot").get_to(o.m_Plot);
|
|
|
|
}
|
|
|
|
std::string Radial_integration_plots_inner::getTitle() const
|
|
{
|
|
return m_Title;
|
|
}
|
|
void Radial_integration_plots_inner::setTitle(std::string const& value)
|
|
{
|
|
m_Title = value;
|
|
}
|
|
org::openapitools::server::model::Plot Radial_integration_plots_inner::getPlot() const
|
|
{
|
|
return m_Plot;
|
|
}
|
|
void Radial_integration_plots_inner::setPlot(org::openapitools::server::model::Plot const& value)
|
|
{
|
|
m_Plot = value;
|
|
}
|
|
|
|
|
|
} // namespace org::openapitools::server::model
|
|
|