Matthias Preu 1eca97f738 Fix wrong include path in api-header template (#3062)
Change local json.hpp include path to correct value.

Update samples.
2019-06-03 15:41:45 +08:00

74 lines
1.5 KiB
C++

/**
* OpenAPI Petstore
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
* Inline_object.h
*
*
*/
#ifndef Inline_object_H_
#define Inline_object_H_
#include <string>
#include <nlohmann/json.hpp>
namespace org {
namespace openapitools {
namespace server {
namespace model {
/// <summary>
///
/// </summary>
class Inline_object
{
public:
Inline_object();
virtual ~Inline_object();
void validate();
/////////////////////////////////////////////
/// Inline_object members
/// <summary>
/// Updated name of the pet
/// </summary>
std::string getName() const;
void setName(std::string const& value);
bool nameIsSet() const;
void unsetName();
/// <summary>
/// Updated status of the pet
/// </summary>
std::string getStatus() const;
void setStatus(std::string const& value);
bool statusIsSet() const;
void unsetStatus();
friend void to_json(nlohmann::json& j, const Inline_object& o);
friend void from_json(const nlohmann::json& j, Inline_object& o);
protected:
std::string m_Name;
bool m_NameIsSet;
std::string m_Status;
bool m_StatusIsSet;
};
}
}
}
}
#endif /* Inline_object_H_ */