89 lines
2.4 KiB
C++
89 lines
2.4 KiB
C++
/**
|
|
* Jungfraujoch
|
|
* API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
|
|
*
|
|
* The version of the OpenAPI document: 1.0.0-rc.58
|
|
* Contact: filip.leonarski@psi.ch
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
/*
|
|
* Pcie_devices_inner.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef Pcie_devices_inner_H_
|
|
#define Pcie_devices_inner_H_
|
|
|
|
|
|
#include <string>
|
|
#include <nlohmann/json.hpp>
|
|
|
|
namespace org::openapitools::server::model
|
|
{
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
class Pcie_devices_inner
|
|
{
|
|
public:
|
|
Pcie_devices_inner();
|
|
virtual ~Pcie_devices_inner() = 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 Pcie_devices_inner& rhs) const;
|
|
bool operator!=(const Pcie_devices_inner& rhs) const;
|
|
|
|
/////////////////////////////////////////////
|
|
/// Pcie_devices_inner members
|
|
|
|
/// <summary>
|
|
/// Block device name
|
|
/// </summary>
|
|
std::string getBlk() const;
|
|
void setBlk(std::string const& value);
|
|
bool blkIsSet() const;
|
|
void unsetBlk();
|
|
/// <summary>
|
|
/// IPv4 address of the block device
|
|
/// </summary>
|
|
std::string getIpv4() const;
|
|
void setIpv4(std::string const& value);
|
|
bool ipv4IsSet() const;
|
|
void unsetIpv4();
|
|
|
|
friend void to_json(nlohmann::json& j, const Pcie_devices_inner& o);
|
|
friend void from_json(const nlohmann::json& j, Pcie_devices_inner& o);
|
|
protected:
|
|
std::string m_Blk;
|
|
bool m_BlkIsSet;
|
|
std::string m_Ipv4;
|
|
bool m_Ipv4IsSet;
|
|
|
|
};
|
|
|
|
} // namespace org::openapitools::server::model
|
|
|
|
#endif /* Pcie_devices_inner_H_ */
|