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

#include "homeserver.h"


using namespace QMatrixClient;

    
void JsonObjectConverter<HomeserverInformation>::dumpTo(QJsonObject& jo, const HomeserverInformation& pod)
{
    addParam<>(jo, QStringLiteral("base_url"), pod.baseUrl);

}
    
void JsonObjectConverter<HomeserverInformation>::fillFrom(const QJsonObject& jo, HomeserverInformation& result)
{
    fromJson(jo.value("base_url"_ls), result.baseUrl);

}