79 lines
1.8 KiB
C++
79 lines
1.8 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.
|
|
*/
|
|
/*
|
|
* Plot_request.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef Plot_request_H_
|
|
#define Plot_request_H_
|
|
|
|
|
|
#include <nlohmann/json.hpp>
|
|
|
|
namespace org::openapitools::server::model
|
|
{
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
class Plot_request
|
|
{
|
|
public:
|
|
Plot_request();
|
|
virtual ~Plot_request() = default;
|
|
|
|
|
|
/// <summary>
|
|
/// Validate the current data in the model. Throws a ValidationException on failure.
|
|
/// </summary>
|
|
void validate() const;
|
|
|
|
/// <summary>
|
|
/// Validate the current data in the model. Returns false on error and writes an error
|
|
/// message into the given stringstream.
|
|
/// </summary>
|
|
bool validate(std::stringstream& msg) const;
|
|
|
|
/// <summary>
|
|
/// Helper overload for validate. Used when one model stores another model and calls it's validate.
|
|
/// Not meant to be called outside that case.
|
|
/// </summary>
|
|
bool validate(std::stringstream& msg, const std::string& pathPrefix) const;
|
|
|
|
bool operator==(const Plot_request& rhs) const;
|
|
bool operator!=(const Plot_request& rhs) const;
|
|
|
|
/////////////////////////////////////////////
|
|
/// Plot_request members
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
int64_t getBinning() const;
|
|
void setBinning(int64_t const value);
|
|
bool binningIsSet() const;
|
|
void unsetBinning();
|
|
|
|
friend void to_json(nlohmann::json& j, const Plot_request& o);
|
|
friend void from_json(const nlohmann::json& j, Plot_request& o);
|
|
protected:
|
|
int64_t m_Binning;
|
|
bool m_BinningIsSet;
|
|
|
|
};
|
|
|
|
} // namespace org::openapitools::server::model
|
|
|
|
#endif /* Plot_request_H_ */
|