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