Class RoomEventsCriteria


  • public class RoomEventsCriteria
    extends Object
    Room events.
    • Field Detail

      • searchTerm

        private String searchTerm
        Required. The string to search events for.
      • keys

        private List<String> keys
        The keys to search. Defaults to all. One of: ["content.body", "content.name", "content.topic"]
      • filter

        private Filter filter
        This takes a filter.
      • orderBy

        private String orderBy
        The order in which to search for results. One of: ["recent", "rank"]
      • eventContext

        private EventContext eventContext
        Configures whether any context for the events returned are included in the response.
      • includeState

        private Boolean includeState
        Requests the server return the current state for each room returned.
      • groupings

        private Groupings groupings
        Requests that the server partitions the result set based on the provided list of keys.
    • Constructor Detail

      • RoomEventsCriteria

        public RoomEventsCriteria()
    • Method Detail

      • getSearchTerm

        public String getSearchTerm()
      • setSearchTerm

        public void setSearchTerm​(String searchTerm)
      • setKeys

        public void setKeys​(List<String> keys)
      • getFilter

        public Filter getFilter()
      • setFilter

        public void setFilter​(Filter filter)
      • getOrderBy

        public String getOrderBy()
      • setOrderBy

        public void setOrderBy​(String orderBy)
      • setEventContext

        public void setEventContext​(EventContext eventContext)
      • getIncludeState

        public Boolean getIncludeState()
      • setIncludeState

        public void setIncludeState​(Boolean includeState)
      • getGroupings

        public Groupings getGroupings()
      • setGroupings

        public void setGroupings​(Groupings groupings)