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