Class Notification


  • public class Notification
    extends Object
    Notification.
    • Field Detail

      • actions

        private List<Object> actions
        Required. The action(s) to perform when the conditions for this rule are met. See Push Rules: API.
      • event

        private Event event
        Required. The Event object for the event that triggered the notification.
      • profileTag

        private String profileTag
        The profile tag of the rule that matched this event.
      • read

        private Boolean read
        Required. Indicates whether the user has sent a read receipt indicating that they have read this message.
      • roomId

        private String roomId
        Required. The ID of the room in which the event was posted.
      • ts

        private Long ts
        Required. The unix timestamp at which the event notification was sent, in milliseconds.
    • Constructor Detail

      • Notification

        public Notification()
    • Method Detail

      • setActions

        public void setActions​(List<Object> actions)
      • getEvent

        public Event getEvent()
      • setEvent

        public void setEvent​(Event event)
      • getProfileTag

        public String getProfileTag()
      • setProfileTag

        public void setProfileTag​(String profileTag)
      • getRead

        public Boolean getRead()
      • setRead

        public void setRead​(Boolean read)
      • getRoomId

        public String getRoomId()
      • setRoomId

        public void setRoomId​(String roomId)
      • getTs

        public Long getTs()
      • setTs

        public void setTs​(Long ts)