diff options
author | n-peugnet <n.peugnet@free.fr> | 2022-10-06 19:27:24 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2022-10-06 19:27:24 +0200 |
commit | d911b207f49e936b3e992200796110f0749ed150 (patch) | |
tree | 96d20ebb4d074a4c1755e21cb316a52d584daee3 /lib/csapi/definitions/user_identifier.cpp | |
parent | 8ad8a74152c5701b6ca1f9a00487ba9257a439b4 (diff) | |
parent | 56c2f2e2b809b9077393eb617828f33d144f5634 (diff) | |
download | libquotient-d911b207f49e936b3e992200796110f0749ed150.tar.gz libquotient-d911b207f49e936b3e992200796110f0749ed150.zip |
New upstream version 0.7.0
Diffstat (limited to 'lib/csapi/definitions/user_identifier.cpp')
-rw-r--r-- | lib/csapi/definitions/user_identifier.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/csapi/definitions/user_identifier.cpp b/lib/csapi/definitions/user_identifier.cpp deleted file mode 100644 index 80a6d450..00000000 --- a/lib/csapi/definitions/user_identifier.cpp +++ /dev/null @@ -1,25 +0,0 @@ -/****************************************************************************** - * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN - */ - -#include "user_identifier.h" - -using namespace QMatrixClient; - -QJsonObject QMatrixClient::toJson(const UserIdentifier& pod) -{ - QJsonObject jo = toJson(pod.additionalProperties); - addParam<>(jo, QStringLiteral("type"), pod.type); - return jo; -} - -UserIdentifier FromJsonObject<UserIdentifier>::operator()(QJsonObject jo) const -{ - UserIdentifier result; - result.type = - fromJson<QString>(jo.take("type"_ls)); - - result.additionalProperties = fromJson<QVariantHash>(jo); - return result; -} - |