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.
66 lines
1.7 KiB
66 lines
1.7 KiB
/**
|
|
* Seaweedfs Master Server API
|
|
* The Seaweedfs Master Server API allows you to store blobs
|
|
*
|
|
* The version of the OpenAPI document: 3.43.0
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI-Generator 6.4.0.
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
/*
|
|
* ApiConfiguration.h
|
|
*
|
|
* This class represents a single item of a multipart-formdata request.
|
|
*/
|
|
|
|
#ifndef ORG_OPENAPITOOLS_CLIENT_API_ApiConfiguration_H_
|
|
#define ORG_OPENAPITOOLS_CLIENT_API_ApiConfiguration_H_
|
|
|
|
|
|
|
|
#include <cpprest/details/basic_types.h>
|
|
#include <cpprest/http_client.h>
|
|
|
|
#include <map>
|
|
|
|
namespace org {
|
|
namespace openapitools {
|
|
namespace client {
|
|
namespace api {
|
|
|
|
class ApiConfiguration
|
|
{
|
|
public:
|
|
ApiConfiguration();
|
|
virtual ~ApiConfiguration();
|
|
|
|
const web::http::client::http_client_config& getHttpConfig() const;
|
|
void setHttpConfig( web::http::client::http_client_config& value );
|
|
|
|
utility::string_t getBaseUrl() const;
|
|
void setBaseUrl( const utility::string_t value );
|
|
|
|
utility::string_t getUserAgent() const;
|
|
void setUserAgent( const utility::string_t value );
|
|
|
|
std::map<utility::string_t, utility::string_t>& getDefaultHeaders();
|
|
const std::map<utility::string_t, utility::string_t>& getDefaultHeaders() const;
|
|
|
|
utility::string_t getApiKey( const utility::string_t& prefix) const;
|
|
void setApiKey( const utility::string_t& prefix, const utility::string_t& apiKey );
|
|
|
|
protected:
|
|
utility::string_t m_BaseUrl;
|
|
std::map<utility::string_t, utility::string_t> m_DefaultHeaders;
|
|
std::map<utility::string_t, utility::string_t> m_ApiKeys;
|
|
web::http::client::http_client_config m_HttpConfig;
|
|
utility::string_t m_UserAgent;
|
|
};
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif /* ORG_OPENAPITOOLS_CLIENT_API_ApiConfiguration_H_ */
|