libkazv
Kazv::Api::PushRule Struct Reference

#include <push_rule.hpp>

Public Attributes

immer::array< Variantactions
 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< PushConditionconditions
 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...
 

Member Data Documentation

◆ actions

immer::array<Variant> Kazv::Api::PushRule::actions

The actions to perform when this rule is matched.

◆ conditions

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.

◆ enabled

bool Kazv::Api::PushRule::enabled

Whether the push rule is enabled or not.

◆ isDefault

bool Kazv::Api::PushRule::isDefault

Whether this is a default rule, or has been set explicitly.

◆ pattern

std::optional<std::string> Kazv::Api::PushRule::pattern

The glob-style pattern to match against.

Only applicable to content rules.

◆ ruleId

std::string Kazv::Api::PushRule::ruleId

The ID of this rule.


The documentation for this struct was generated from the following file: