aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/pushrules.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-19 15:01:33 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-19 15:03:24 +0200
commite17764a1ae81393968dfb747c7b67353c109bc71 (patch)
treebbff0707ae3622e22c67d0cc310370eb5126ac7e /lib/csapi/pushrules.h
parentcbd107e595bbb78ef3411a4a92f66d495c6fc5b4 (diff)
downloadlibquotient-e17764a1ae81393968dfb747c7b67353c109bc71.tar.gz
libquotient-e17764a1ae81393968dfb747c7b67353c109bc71.zip
csapi/: generated using the latest GTAD and matrix-doc
For matrix-doc, specifically, it is master (5cb4b086) merged with https://github.com/matrix-org/matrix-doc/pull/2518.
Diffstat (limited to 'lib/csapi/pushrules.h')
-rw-r--r--lib/csapi/pushrules.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/csapi/pushrules.h b/lib/csapi/pushrules.h
index 0971dc6b..f6d3458a 100644
--- a/lib/csapi/pushrules.h
+++ b/lib/csapi/pushrules.h
@@ -48,7 +48,6 @@ class GetPushRuleJob : public BaseJob {
public:
/*! \brief Retrieve a push rule.
*
- *
* \param scope
* ``global`` to specify global rules.
*
@@ -73,7 +72,7 @@ public:
/// The specific push rule. This will also include keys specific to the
/// rule itself such as the rule's ``actions`` and ``conditions`` if set.
- PushRule data() const { return fromJson<PushRule>(jsonData()); }
+ PushRule pushRule() const { return fromJson<PushRule>(jsonData()); }
};
/*! \brief Delete a push rule.
@@ -84,7 +83,6 @@ class DeletePushRuleJob : public BaseJob {
public:
/*! \brief Delete a push rule.
*
- *
* \param scope
* ``global`` to specify global rules.
*
@@ -118,7 +116,6 @@ class SetPushRuleJob : public BaseJob {
public:
/*! \brief Add or change a push rule.
*
- *
* \param scope
* ``global`` to specify global rules.
*
@@ -166,7 +163,6 @@ class IsPushRuleEnabledJob : public BaseJob {
public:
/*! \brief Get whether a push rule is enabled
*
- *
* \param scope
* Either ``global`` or ``device/<profile_tag>`` to specify global
* rules or device rules for the given ``profile_tag``.
@@ -202,7 +198,6 @@ class SetPushRuleEnabledJob : public BaseJob {
public:
/*! \brief Enable or disable a push rule.
*
- *
* \param scope
* ``global`` to specify global rules.
*
@@ -227,7 +222,6 @@ class GetPushRuleActionsJob : public BaseJob {
public:
/*! \brief The actions for a push rule
*
- *
* \param scope
* Either ``global`` or ``device/<profile_tag>`` to specify global
* rules or device rules for the given ``profile_tag``.
@@ -267,7 +261,6 @@ class SetPushRuleActionsJob : public BaseJob {
public:
/*! \brief Set the actions for a push rule.
*
- *
* \param scope
* ``global`` to specify global rules.
*