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

#include "identity_server.h"

using namespace QMatrixClient;

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

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