Files
openapi-generator/samples/client/petstore/qt5cpp/client/OAIObject.h
William Cheng a9fa4cd0db Update default value for C++ related generator (#373)
* udpate default value for cpp, remove unused imports

* update cpprest template

* update tizen default value

* update cpp restbed default value

* update qt5cpp samples

* update pistache samples

* regenerate restbed ignore file
2018-05-08 22:10:40 +08:00

44 lines
948 B
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.
*
* OpenAPI spec version: 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.
*/
#ifndef _OAI_OBJECT_H_
#define _OAI_OBJECT_H_
#include <QJsonObject>
namespace OpenAPI {
class OAIObject {
public:
virtual QJsonObject asJsonObject() {
return QJsonObject();
}
virtual ~OAIObject() {}
virtual OAIObject* fromJson(QString jsonString) {
Q_UNUSED(jsonString);
return new OAIObject();
}
virtual void fromJsonObject(QJsonObject json) {
Q_UNUSED(json);
}
virtual QString asJson() {
return QString("");
}
virtual bool isSet() {
return false;
}
};
}
#endif /* _OAI_OBJECT_H_ */