blob: 0f3c3130e26e680a4b938b03e54d46b21362a5ee (
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 "user.h"
using namespace QMatrixClient;
void JsonObjectConverter<ThirdPartyUser>::dumpTo(QJsonObject& jo,
const ThirdPartyUser& pod)
{
addParam<>(jo, QStringLiteral("userid"), pod.userid);
addParam<>(jo, QStringLiteral("protocol"), pod.protocol);
addParam<>(jo, QStringLiteral("fields"), pod.fields);
}
void JsonObjectConverter<ThirdPartyUser>::fillFrom(const QJsonObject& jo,
ThirdPartyUser& result)
{
fromJson(jo.value("userid"_ls), result.userid);
fromJson(jo.value("protocol"_ls), result.protocol);
fromJson(jo.value("fields"_ls), result.fields);
}
|