aboutsummaryrefslogtreecommitdiff
path: root/lib/identity/definitions/sid.cpp
blob: 1ba4b3b59f6a84af659ca2c63e37d1cf84fad6d7 (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 "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);
}