forked from loafle/openapi-generator-original
74 lines
1.5 KiB
C++
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_ */
|