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