Kraust 5b8a11546c
[C++] [Client] Added cpp-oatpp-client (#21711)
* Added cpp-oatpp-client.

* Updated pipelines.

* Should match formatting now.

* Moved includes around.

* Ran doc generator.
2025-08-07 10:01:55 +08:00

60 lines
1.3 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.
*/
/*
* Order.h
*
* An order for a pets from the pet store
*/
#ifndef Order_H_
#define Order_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 Order : public oatpp::DTO {
DTO_INIT(Order, DTO /* Extends */)
DTO_FIELD(oatpp::Int64, id);
DTO_FIELD(oatpp::Boolean, idIsSet);
DTO_FIELD(oatpp::Int64, petId);
DTO_FIELD(oatpp::Boolean, petIdIsSet);
DTO_FIELD(oatpp::Int32, quantity);
DTO_FIELD(oatpp::Boolean, quantityIsSet);
DTO_FIELD(oatpp::String, shipDate);
DTO_FIELD(oatpp::Boolean, shipDateIsSet);
DTO_FIELD(oatpp::String, status);
DTO_FIELD(oatpp::Boolean, statusIsSet);
DTO_FIELD(oatpp::Boolean, complete);
DTO_FIELD(oatpp::Boolean, completeIsSet);
};
/* End DTO code-generation */
#include OATPP_CODEGEN_END(DTO)
} // namespace org::openapitools::client::model
#endif /* Order_H_ */