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.

88 lines
1.8 KiB

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. * Location.h
  13. *
  14. *
  15. */
  16. #ifndef ORG_OPENAPITOOLS_CLIENT_MODEL_Location_H_
  17. #define ORG_OPENAPITOOLS_CLIENT_MODEL_Location_H_
  18. #include "CppRestOpenAPIClient/ModelBase.h"
  19. #include "CppRestOpenAPIClient/model/AnyType.h"
  20. namespace org {
  21. namespace openapitools {
  22. namespace client {
  23. namespace model {
  24. /// <summary>
  25. ///
  26. /// </summary>
  27. class Location
  28. : public ModelBase
  29. {
  30. public:
  31. Location();
  32. virtual ~Location();
  33. /////////////////////////////////////////////
  34. /// ModelBase overrides
  35. void validate() override;
  36. web::json::value toJson() const override;
  37. bool fromJson(const web::json::value& json) override;
  38. void toMultipart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) const override;
  39. bool fromMultiPart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) override;
  40. /////////////////////////////////////////////
  41. /// Location members
  42. /// <summary>
  43. ///
  44. /// </summary>
  45. std::shared_ptr<AnyType> getPublicUrl() const;
  46. bool publicUrlIsSet() const;
  47. void unsetPublicUrl();
  48. void setPublicUrl(const std::shared_ptr<AnyType>& value);
  49. /// <summary>
  50. ///
  51. /// </summary>
  52. std::shared_ptr<AnyType> getUrl() const;
  53. bool urlIsSet() const;
  54. void unsetUrl();
  55. void setUrl(const std::shared_ptr<AnyType>& value);
  56. protected:
  57. std::shared_ptr<AnyType> m_PublicUrl;
  58. bool m_PublicUrlIsSet;
  59. std::shared_ptr<AnyType> m_Url;
  60. bool m_UrlIsSet;
  61. };
  62. }
  63. }
  64. }
  65. }
  66. #endif /* ORG_OPENAPITOOLS_CLIENT_MODEL_Location_H_ */