/** * 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. */ /* * User.h * * A User who is purchasing from the pet store */ #ifndef User_H_ #define User_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 User : public oatpp::DTO { DTO_INIT(User, DTO /* Extends */) DTO_FIELD(oatpp::Int64, id); DTO_FIELD(oatpp::Boolean, idIsSet); DTO_FIELD(oatpp::String, username); DTO_FIELD(oatpp::Boolean, usernameIsSet); DTO_FIELD(oatpp::String, firstName); DTO_FIELD(oatpp::Boolean, firstNameIsSet); DTO_FIELD(oatpp::String, lastName); DTO_FIELD(oatpp::Boolean, lastNameIsSet); DTO_FIELD(oatpp::String, email); DTO_FIELD(oatpp::Boolean, emailIsSet); DTO_FIELD(oatpp::String, password); DTO_FIELD(oatpp::Boolean, passwordIsSet); DTO_FIELD(oatpp::String, phone); DTO_FIELD(oatpp::Boolean, phoneIsSet); DTO_FIELD(oatpp::Int32, userStatus); DTO_FIELD(oatpp::Boolean, userStatusIsSet); }; /* End DTO code-generation */ #include OATPP_CODEGEN_END(DTO) } // namespace org::openapitools::client::model #endif /* User_H_ */