{{#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}}
