/** * 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. */ /* * Pet.h * * A pet for sale in the pet store */ #ifndef Pet_H_ #define Pet_H_ #include "Category.hpp" #include "Tag.hpp" #include "oatpp/core/macro/codegen.hpp" #include "oatpp/core/Types.hpp" namespace org::openapitools::server::model { /* Begin DTO code-generation */ #include OATPP_CODEGEN_BEGIN(DTO) /** * Message Data-Transfer-Object */ class Pet : public oatpp::DTO { DTO_INIT(Pet, DTO /* Extends */) DTO_FIELD(oatpp::Int64, Id); DTO_FIELD(oatpp::Boolean, IdIsSet); DTO_FIELD(oatpp::Object, Category); DTO_FIELD(oatpp::Boolean, CategoryIsSet); DTO_FIELD(oatpp::String, Name); DTO_FIELD(oatpp::Vector, PhotoUrls); DTO_FIELD(oatpp::Vector>, Tags); DTO_FIELD(oatpp::Boolean, TagsIsSet); DTO_FIELD(oatpp::String, Status); DTO_FIELD(oatpp::Boolean, StatusIsSet); }; /* End DTO code-generation */ #include OATPP_CODEGEN_END(DTO) } // namespace org::openapitools::server::model #endif /* Pet_H_ */