/** * 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. * * OpenAPI spec version: 1.0.0 * * NOTE: This class is auto generated by OpenAPI-Generator 3.3.0-SNAPSHOT. * https://openapi-generator.tech * Do not edit the class manually. */ /* * StoreApi.h * * */ #ifndef ORG_OPENAPITOOLS_CLIENT_API_StoreApi_H_ #define ORG_OPENAPITOOLS_CLIENT_API_StoreApi_H_ #include "../ApiClient.h" #include "Order.h" #include #include #include "../ModelBase.h" #include namespace org { namespace openapitools { namespace client { namespace api { using namespace org::openapitools::client::model; class StoreApi { public: explicit StoreApi( std::shared_ptr apiClient ); virtual ~StoreApi(); /// /// Delete purchase order by ID /// /// /// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors /// /// ID of the order that needs to be deleted pplx::task deleteOrder( utility::string_t orderId ); /// /// Returns pet inventories by status /// /// /// Returns a map of status codes to quantities /// pplx::task> getInventory( ); /// /// Find purchase order by ID /// /// /// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions /// /// ID of pet that needs to be fetched pplx::task> getOrderById( int64_t orderId ); /// /// Place an order for a pet /// /// /// /// /// order placed for purchasing the pet pplx::task> placeOrder( std::shared_ptr order ); protected: std::shared_ptr m_ApiClient; }; } } } } #endif /* ORG_OPENAPITOOLS_CLIENT_API_StoreApi_H_ */