forked from loafle/openapi-generator-original
26 lines
530 B
Plaintext
26 lines
530 B
Plaintext
{{>licenseInfo}}
|
|
#ifndef _{{prefix}}_OBJECT_H_
|
|
#define _{{prefix}}_OBJECT_H_
|
|
|
|
#include <QJsonValue>
|
|
|
|
class {{prefix}}Object {
|
|
public:
|
|
virtual QJsonObject* asJsonObject() {
|
|
return NULL;
|
|
}
|
|
virtual ~SWGObject() {}
|
|
virtual SWGObject* fromJson(QString &jsonString) {
|
|
Q_UNUSED(jsonString);
|
|
return NULL;
|
|
}
|
|
virtual void fromJsonObject(QJsonObject &json) {
|
|
Q_UNUSED(json);
|
|
}
|
|
virtual QString asJson() {
|
|
return QString("");
|
|
}
|
|
};
|
|
|
|
#endif /* _{{prefix}}_OBJECT_H_ */
|