aboutsummaryrefslogtreecommitdiff
path: root/lib/identity/definitions/request_email_validation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/identity/definitions/request_email_validation.cpp')
-rw-r--r--lib/identity/definitions/request_email_validation.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/identity/definitions/request_email_validation.cpp b/lib/identity/definitions/request_email_validation.cpp
deleted file mode 100644
index 47463a8b..00000000
--- a/lib/identity/definitions/request_email_validation.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-/******************************************************************************
- * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
- */
-
-#include "request_email_validation.h"
-
-using namespace QMatrixClient;
-
-void JsonObjectConverter<RequestEmailValidation>::dumpTo(
- QJsonObject& jo, const RequestEmailValidation& pod)
-{
- addParam<>(jo, QStringLiteral("client_secret"), pod.clientSecret);
- addParam<>(jo, QStringLiteral("email"), pod.email);
- addParam<>(jo, QStringLiteral("send_attempt"), pod.sendAttempt);
- addParam<IfNotEmpty>(jo, QStringLiteral("next_link"), pod.nextLink);
-}
-
-void JsonObjectConverter<RequestEmailValidation>::fillFrom(
- const QJsonObject& jo, RequestEmailValidation& result)
-{
- fromJson(jo.value("client_secret"_ls), result.clientSecret);
- fromJson(jo.value("email"_ls), result.email);
- fromJson(jo.value("send_attempt"_ls), result.sendAttempt);
- fromJson(jo.value("next_link"_ls), result.nextLink);
-}
-