mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-22 09:15:18 +00:00
22 lines
538 B
Handlebars
22 lines
538 B
Handlebars
{{#if endpoint.hasSuccessResponse}}
|
|
|
|
using namespace {{dtoNamespace}};
|
|
|
|
{{#if endpoint.description.length > 0}}
|
|
/**
|
|
* @brief {{endpoint.description}}
|
|
|
|
*/
|
|
{{/if}}
|
|
|
|
|
|
class {{className}}Loader : public {{supportNamespace}}::HttpLoader<{{endpoint.resultType}}, {{endpoint.parameterType}}> {
|
|
public:
|
|
explicit {{className}}Loader(ApiClient *apiClient = nullptr);
|
|
|
|
protected:
|
|
QString path(const {{endpoint.parameterType}}& parameters) const override;
|
|
QUrlQuery query(const {{endpoint.parameterType}}& parameters) const override;
|
|
};
|
|
{{/if}}
|