Class Notification


  • public class Notification
    extends Object
    Notification
    • Constructor Detail

      • Notification

        public Notification()
    • Method Detail

      • getShowButton

        public Boolean getShowButton()
        Shows or hides the event notification button on the terminal screen.
        Returns:
        showButton
      • setShowButton

        public void setShowButton​(Boolean showButton)
      • equals

        public boolean equals​(Object o)
        Return true if this Notification object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static Notification fromJson​(String jsonString)
                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of Notification given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Notification
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to Notification
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of Notification to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException