using namespace {{dtoNamespace}};

{{#each endpoints as |e|}}
{{#if e.endpoint.hasSuccessResponse}}

{{#if e.endpoint.description.length > 0}}
/**
 * @brief {{e.endpoint.description}}

 */
{{/if}}


class {{e.className}}Loader : public {{supportNamespace}}::HttpLoader<{{e.endpoint.resultType}}, {{e.endpoint.parameterType}}> {
public:
	explicit {{e.className}}Loader(ApiClient *apiClient = nullptr);

protected:
	QString path(const {{e.endpoint.parameterType}}& parameters) const override;
	QUrlQuery query(const {{e.endpoint.parameterType}}& parameters) const override;
	QByteArray body(const {{e.endpoint.parameterType}}& parameters) const override;
	QNetworkAccessManager::Operation operation() const override;
};
{{/if}}
{{/each}}
