aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/definitions/user_identifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/definitions/user_identifier.cpp')
-rw-r--r--lib/csapi/definitions/user_identifier.cpp25
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;
-}
-