Class EventContextResponse


  • public class EventContextResponse
    extends Object
    Events that happened just before and after the specified event.
    • Field Detail

      • start

        private String start
        A token that can be used to paginate backwards with.
      • end

        private String end
        A token that can be used to paginate forwards with.
      • eventsBefore

        private List<Event> eventsBefore
        A list of room events that happened just before the requested event, in reverse-chronological order.
      • event

        private Event event
        Details of the requested event.
      • eventsAfter

        private List<Event> eventsAfter
        A list of room events that happened just after the requested event, in chronological order.
      • state

        private Event state
        The state of the room at the last event returned.
    • Constructor Detail

      • EventContextResponse

        public EventContextResponse()
    • Method Detail

      • getStart

        public String getStart()
      • setStart

        public void setStart​(String start)
      • getEnd

        public String getEnd()
      • setEnd

        public void setEnd​(String end)
      • getEventsBefore

        public List<Event> getEventsBefore()
      • setEventsBefore

        public void setEventsBefore​(List<Event> eventsBefore)
      • getEvent

        public Event getEvent()
      • setEvent

        public void setEvent​(Event event)
      • getEventsAfter

        public List<Event> getEventsAfter()
      • setEventsAfter

        public void setEventsAfter​(List<Event> eventsAfter)
      • getState

        public Event getState()
      • setState

        public void setState​(Event state)