libkazv
|
#include <push_rule.hpp>
Public Attributes | |
immer::array< Variant > | actions |
The actions to perform when this rule is matched. More... | |
bool | isDefault |
Whether this is a default rule, or has been set explicitly. More... | |
bool | enabled |
Whether the push rule is enabled or not. More... | |
std::string | ruleId |
The ID of this rule. More... | |
immer::array< PushCondition > | conditions |
The conditions that must hold true for an event in order for a rule to be applied to an event. More... | |
std::optional< std::string > | pattern |
The glob-style pattern to match against. More... | |
immer::array<Variant> Kazv::Api::PushRule::actions |
The actions to perform when this rule is matched.
immer::array<PushCondition> Kazv::Api::PushRule::conditions |
The conditions that must hold true for an event in order for a rule to be applied to an event.
A rule with no conditions always matches. Only applicable to underride
and override
rules.
bool Kazv::Api::PushRule::enabled |
Whether the push rule is enabled or not.
bool Kazv::Api::PushRule::isDefault |
Whether this is a default rule, or has been set explicitly.
std::optional<std::string> Kazv::Api::PushRule::pattern |
The glob-style pattern to match against.
Only applicable to content
rules.
std::string Kazv::Api::PushRule::ruleId |
The ID of this rule.