aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/versions.cpp
blob: 9003e27fd49f79e7b16d9d3195445fc37c7ebdc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/******************************************************************************
 * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
 */

#include "versions.h"

#include <QtCore/QStringBuilder>

using namespace Quotient;

QUrl GetVersionsJob::makeRequestUrl(QUrl baseUrl)
{
    return BaseJob::makeRequestUrl(std::move(baseUrl),
                                   QStringLiteral("/_matrix/client")
                                       % "/versions");
}

GetVersionsJob::GetVersionsJob()
    : BaseJob(HttpVerb::Get, QStringLiteral("GetVersionsJob"),
              QStringLiteral("/_matrix/client") % "/versions", false)
{
    addExpectedKey("versions");
}