aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/definitions/push_condition.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/definitions/push_condition.h')
-rw-r--r--lib/csapi/definitions/push_condition.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/csapi/definitions/push_condition.h b/lib/csapi/definitions/push_condition.h
new file mode 100644
index 00000000..5744b9b8
--- /dev/null
+++ b/lib/csapi/definitions/push_condition.h
@@ -0,0 +1,30 @@
+/******************************************************************************
+ * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
+ */
+
+#pragma once
+
+
+
+#include "converters.h"
+
+namespace QMatrixClient
+{
+ // Data structures
+
+ struct PushCondition
+ {
+ QString kind;
+ QString key;
+ QString pattern;
+ QString is;
+ };
+
+ QJsonObject toJson(const PushCondition& pod);
+
+ template <> struct FromJson<PushCondition>
+ {
+ PushCondition operator()(const QJsonValue& jv);
+ };
+
+} // namespace QMatrixClient