trixnity
Toggle table of contents
5.2.0-SNAPSHOT.CI-20260302.101522
common
Target filter
common
Switch theme
Search in API
Skip to content
trixnity
trixnity-core
/
de.connect2x.trixnity.core.model.push
/
PushRule
Push
Rule
sealed
interface
PushRule
See also
matrix spec
Inheritors
Override
Content
Room
Sender
Underride
Members
Types
Content
Link copied to clipboard
@
Serializable
data
class
Content
(
val
ruleId
:
String
,
val
default
:
Boolean
=
false
,
val
enabled
:
Boolean
=
false
,
val
actions
:
Set
<
PushAction
>
=
setOf()
,
val
pattern
:
String
)
:
PushRule
Override
Link copied to clipboard
@
Serializable
data
class
Override
(
val
ruleId
:
String
,
val
default
:
Boolean
=
false
,
val
enabled
:
Boolean
=
false
,
val
actions
:
Set
<
PushAction
>
=
setOf()
,
val
conditions
:
Set
<
PushCondition
>
?
=
null
)
:
PushRule
Room
Link copied to clipboard
@
Serializable
data
class
Room
(
val
roomId
:
RoomId
,
val
default
:
Boolean
=
false
,
val
enabled
:
Boolean
=
false
,
val
actions
:
Set
<
PushAction
>
=
setOf()
)
:
PushRule
Sender
Link copied to clipboard
@
Serializable
data
class
Sender
(
val
userId
:
UserId
,
val
default
:
Boolean
=
false
,
val
enabled
:
Boolean
=
false
,
val
actions
:
Set
<
PushAction
>
=
setOf()
)
:
PushRule
Underride
Link copied to clipboard
@
Serializable
data
class
Underride
(
val
ruleId
:
String
,
val
default
:
Boolean
=
false
,
val
enabled
:
Boolean
=
false
,
val
actions
:
Set
<
PushAction
>
=
setOf()
,
val
conditions
:
Set
<
PushCondition
>
?
=
null
)
:
PushRule
Properties
actions
Link copied to clipboard
abstract
val
actions
:
Set
<
PushAction
>
default
Link copied to clipboard
abstract
val
default
:
Boolean
enabled
Link copied to clipboard
abstract
val
enabled
:
Boolean
kind
Link copied to clipboard
abstract
val
kind
:
PushRuleKind
rule
Id
Link copied to clipboard
abstract
val
ruleId
:
String