Class EventFilter
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.filter.EventFilter
-
public class EventFilter extends Object
Filter.
-
-
Field Summary
Fields Modifier and Type Field Description private Long
limit
The maximum number of events to return.private List<String>
notSenders
A list of sender IDs to exclude.private List<String>
notTypes
A list of event types to exclude.private List<String>
senders
A list of senders IDs to include.private List<String>
types
A list of event types to include.
-
Constructor Summary
Constructors Constructor Description EventFilter()
-
Method Summary
Modifier and Type Method Description Long
getLimit()
List<String>
getNotSenders()
List<String>
getNotTypes()
List<String>
getSenders()
List<String>
getTypes()
void
setLimit(Long limit)
void
setNotSenders(List<String> notSenders)
void
setNotTypes(List<String> notTypes)
void
setSenders(List<String> senders)
void
setTypes(List<String> types)
-
-
-
Field Detail
-
limit
private Long limit
The maximum number of events to return.
-
notSenders
private List<String> notSenders
A list of sender IDs to exclude. If this list is absent then no senders are excluded. A matching sender will be excluded even if it is listed in the 'senders' filter.
-
notTypes
private List<String> notTypes
A list of event types to exclude. If this list is absent then no event types are excluded. A matching type will be excluded even if it is listed in the 'types' filter. A '*' can be used as a wildcard to match any sequence of characters.
-
senders
private List<String> senders
A list of senders IDs to include. If this list is absent then all senders are included.
-
-