Class Filter


  • public class Filter
    extends Object
    Filter.
    • 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.
      • types

        private List<String> types
        A list of event types to include. If this list is absent then all event types are included. A '*' can be used as a wildcard to match any sequence of characters.
      • lazyLoadMembers

        private Boolean lazyLoadMembers
        If true, enables lazy-loading of membership events. See Lazy-loading room members for more information. Defaults to false.
      • includeRedundantMembers

        private Boolean includeRedundantMembers
        If true, sends all membership events for all events, even if they have already been sent to the client. Does not apply unless lazy_load_members is true. See Lazy- loading room members for more information. Defaults to false.
      • notRooms

        private List<String> notRooms
        A list of room IDs to exclude. If this list is absent then no rooms are excluded. A matching room will be excluded even if it is listed in the 'rooms' filter.
      • rooms

        private List<String> rooms
        A list of room IDs to include. If this list is absent then all rooms are included.
      • containsUrl

        private Boolean containsUrl
        If true, includes only events with a url key in their content. If false, excludes those events. Defaults to false.
    • Constructor Detail

      • Filter

        public Filter()
    • Method Detail

      • getLimit

        public Long getLimit()
      • setLimit

        public void setLimit​(Long limit)
      • getNotSenders

        public List<String> getNotSenders()
      • setNotSenders

        public void setNotSenders​(List<String> notSenders)
      • setNotTypes

        public void setNotTypes​(List<String> notTypes)
      • setSenders

        public void setSenders​(List<String> senders)
      • setTypes

        public void setTypes​(List<String> types)
      • getLazyLoadMembers

        public Boolean getLazyLoadMembers()
      • setLazyLoadMembers

        public void setLazyLoadMembers​(Boolean lazyLoadMembers)
      • getIncludeRedundantMembers

        public Boolean getIncludeRedundantMembers()
      • setIncludeRedundantMembers

        public void setIncludeRedundantMembers​(Boolean includeRedundantMembers)
      • setNotRooms

        public void setNotRooms​(List<String> notRooms)
      • setRooms

        public void setRooms​(List<String> rooms)
      • getContainsUrl

        public Boolean getContainsUrl()
      • setContainsUrl

        public void setContainsUrl​(Boolean containsUrl)