aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/definitions/auth_data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/definitions/auth_data.cpp')
-rw-r--r--lib/csapi/definitions/auth_data.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/csapi/definitions/auth_data.cpp b/lib/csapi/definitions/auth_data.cpp
deleted file mode 100644
index edeb7111..00000000
--- a/lib/csapi/definitions/auth_data.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-/******************************************************************************
- * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
- */
-
-#include "auth_data.h"
-
-using namespace Quotient;
-
-void JsonObjectConverter<AuthenticationData>::dumpTo(
- QJsonObject& jo, const AuthenticationData& pod)
-{
- fillJson(jo, pod.authInfo);
- addParam<>(jo, QStringLiteral("type"), pod.type);
- addParam<IfNotEmpty>(jo, QStringLiteral("session"), pod.session);
-}
-
-void JsonObjectConverter<AuthenticationData>::fillFrom(QJsonObject jo,
- AuthenticationData& result)
-{
- fromJson(jo.take("type"_ls), result.type);
- fromJson(jo.take("session"_ls), result.session);
- fromJson(jo, result.authInfo);
-}