aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/definitions/push_ruleset.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/definitions/push_ruleset.h')
-rw-r--r--lib/csapi/definitions/push_ruleset.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/csapi/definitions/push_ruleset.h b/lib/csapi/definitions/push_ruleset.h
new file mode 100644
index 00000000..96199a11
--- /dev/null
+++ b/lib/csapi/definitions/push_ruleset.h
@@ -0,0 +1,34 @@
+/******************************************************************************
+ * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
+ */
+
+#pragma once
+
+
+#include <QtCore/QVector>
+#include "converters.h"
+#include "lib/csapi/definitions/push_rule.h"
+
+#include "converters.h"
+
+namespace QMatrixClient
+{
+ // Data structures
+
+ struct PushRuleset
+ {
+ QVector<PushRule> content;
+ QVector<PushRule> override;
+ QVector<PushRule> room;
+ QVector<PushRule> sender;
+ QVector<PushRule> underride;
+ };
+
+ QJsonObject toJson(const PushRuleset& pod);
+
+ template <> struct FromJson<PushRuleset>
+ {
+ PushRuleset operator()(const QJsonValue& jv);
+ };
+
+} // namespace QMatrixClient