/****************************************************************************** * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN */ #include "event_context.h" #include using namespace Quotient; auto queryToGetEventContext(Omittable limit, const QString& filter) { BaseJob::Query _q; addParam(_q, QStringLiteral("limit"), limit); addParam(_q, QStringLiteral("filter"), filter); return _q; } QUrl GetEventContextJob::makeRequestUrl(QUrl baseUrl, const QString& roomId, const QString& eventId, Omittable limit, const QString& filter) { return BaseJob::makeRequestUrl(std::move(baseUrl), QStringLiteral("/_matrix/client/r0") % "/rooms/" % roomId % "/context/" % eventId, queryToGetEventContext(limit, filter)); } GetEventContextJob::GetEventContextJob(const QString& roomId, const QString& eventId, Omittable limit, const QString& filter) : BaseJob(HttpVerb::Get, QStringLiteral("GetEventContextJob"), QStringLiteral("/_matrix/client/r0") % "/rooms/" % roomId % "/context/" % eventId, queryToGetEventContext(limit, filter)) {} rd_party_lookup.h?id=9bf12da8aaa1b2005d9d7d8eae4269c8a9bf1c08'>treecommitdiff