2021-03-24 19:04:03 +00:00
|
|
|
{{#if endpoint.hasSuccessResponse}}
|
|
|
|
{{#if endpoint.description.length > 0}}
|
|
|
|
/**
|
|
|
|
* @brief {{endpoint.description}}
|
|
|
|
|
|
|
|
*/
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
class {{className}} : public {{supportNamespace}}::HttpLoader<{{dtoNamespace}}::{{endpoint.resultType}}, {{endpoint.parameterType}}> {
|
|
|
|
public:
|
2021-03-25 16:32:00 +00:00
|
|
|
explicit {{className}}(ApiClient *apiClient = nullptr);
|
2021-03-24 19:04:03 +00:00
|
|
|
|
|
|
|
protected:
|
2021-03-25 16:32:00 +00:00
|
|
|
QString path(const {{endpoint.parameterType}}& parameters) const override;
|
2021-03-24 19:04:03 +00:00
|
|
|
QUrlQuery query(const {{endpoint.parameterType}}& parameters) const override;
|
|
|
|
};
|
|
|
|
{{/if}}
|