You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
909 B

2 years ago
  1. /**
  2. * Seaweedfs Master Server API
  3. * The Seaweedfs Master Server API allows you to store blobs
  4. *
  5. * The version of the OpenAPI document: 3.43.0
  6. *
  7. * NOTE: This class is auto generated by OpenAPI-Generator 6.4.0.
  8. * https://openapi-generator.tech
  9. * Do not edit the class manually.
  10. */
  11. /*
  12. * JsonBody.h
  13. *
  14. * This is a JSON http body which can be submitted via http
  15. */
  16. #ifndef ORG_OPENAPITOOLS_CLIENT_MODEL_JsonBody_H_
  17. #define ORG_OPENAPITOOLS_CLIENT_MODEL_JsonBody_H_
  18. #include "CppRestOpenAPIClient/IHttpBody.h"
  19. #include <cpprest/json.h>
  20. namespace org {
  21. namespace openapitools {
  22. namespace client {
  23. namespace model {
  24. class JsonBody
  25. : public IHttpBody
  26. {
  27. public:
  28. JsonBody( const web::json::value& value );
  29. virtual ~JsonBody();
  30. void writeTo( std::ostream& target ) override;
  31. protected:
  32. web::json::value m_Json;
  33. };
  34. }
  35. }
  36. }
  37. }
  38. #endif /* ORG_OPENAPITOOLS_CLIENT_MODEL_JsonBody_H_ */