1 | /****************************************************************************** |
2 | * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN |
3 | */ |
4 | |
5 | #include "versions.h" |
6 | |
7 | using namespace Quotient; |
8 | |
9 | QUrl GetVersionsJob::makeRequestUrl(QUrl baseUrl) |
10 | { |
11 | return BaseJob::makeRequestUrl(baseUrl: std::move(baseUrl), |
12 | encodedPath: makePath(parts: "/_matrix/client" , parts: "/versions" )); |
13 | } |
14 | |
15 | GetVersionsJob::GetVersionsJob() |
16 | : BaseJob(HttpVerb::Get, QStringLiteral("GetVersionsJob" ), |
17 | makePath(parts: "/_matrix/client" , parts: "/versions" ), false) |
18 | { |
19 | addExpectedKey(key: "versions" ); |
20 | } |
21 | |