Class PresenceStatus


  • public class PresenceStatus
    extends Object
    JSON body request for presence api.
    • Field Detail

      • presence

        private String presence
        Required. The new presence state. One of: ["online", "offline", "unavailable"].
      • statusMsg

        private String statusMsg
        The status message to attach to this state.
      • lastActiveAgo

        private Long lastActiveAgo
        The length of time in milliseconds since an action was performed by this user.
      • currentlyActive

        private Boolean currentlyActive
        Whether the user is currently active.
    • Constructor Detail

      • PresenceStatus

        public PresenceStatus()
    • Method Detail

      • getPresence

        public String getPresence()
      • setPresence

        public void setPresence​(String presence)
      • getStatusMsg

        public String getStatusMsg()
      • setStatusMsg

        public void setStatusMsg​(String statusMsg)
      • getLastActiveAgo

        public Long getLastActiveAgo()
      • setLastActiveAgo

        public void setLastActiveAgo​(Long lastActiveAgo)
      • getCurrentlyActive

        public Boolean getCurrentlyActive()
      • setCurrentlyActive

        public void setCurrentlyActive​(Boolean currentlyActive)