mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 16:33:56 +00:00
* Added cpp-oatpp-client. * Updated pipelines. * Should match formatting now. * Moved includes around. * Ran doc generator.
54 lines
1.2 KiB
C++
54 lines
1.2 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.
|
|
*/
|
|
/*
|
|
* ApiResponse.h
|
|
*
|
|
* Describes the result of uploading an image resource
|
|
*/
|
|
|
|
#ifndef ApiResponse_H_
|
|
#define ApiResponse_H_
|
|
|
|
|
|
#include "oatpp/core/macro/codegen.hpp"
|
|
#include "oatpp/core/Types.hpp"
|
|
|
|
namespace org::openapitools::client::model
|
|
{
|
|
|
|
/* Begin DTO code-generation */
|
|
#include OATPP_CODEGEN_BEGIN(DTO)
|
|
|
|
/**
|
|
* Message Data-Transfer-Object
|
|
*/
|
|
class ApiResponse : public oatpp::DTO {
|
|
|
|
DTO_INIT(ApiResponse, DTO /* Extends */)
|
|
|
|
DTO_FIELD(oatpp::Int32, code);
|
|
DTO_FIELD(oatpp::Boolean, codeIsSet);
|
|
DTO_FIELD(oatpp::String, type);
|
|
DTO_FIELD(oatpp::Boolean, typeIsSet);
|
|
DTO_FIELD(oatpp::String, message);
|
|
DTO_FIELD(oatpp::Boolean, messageIsSet);
|
|
|
|
};
|
|
|
|
/* End DTO code-generation */
|
|
#include OATPP_CODEGEN_END(DTO)
|
|
|
|
|
|
} // namespace org::openapitools::client::model
|
|
|
|
#endif /* ApiResponse_H_ */
|