aboutsummaryrefslogtreecommitdiff
path: root/lib/identity/definitions/sid.cpp
blob: cc6973f2b99524415da63c90f58c5ba822f732a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/******************************************************************************
 * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
 */

#include "sid.h"

using namespace QMatrixClient;

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

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