Class NotificationUrl


  • public class NotificationUrl
    extends Object
    NotificationUrl
    • Constructor Detail

      • NotificationUrl

        public NotificationUrl()
    • Method Detail

      • getLocalUrls

        public List<Url> getLocalUrls()
        One or more local URLs to send notifications to when using Terminal API.
        Returns:
        localUrls
      • setLocalUrls

        public void setLocalUrls​(List<Url> localUrls)
        One or more local URLs to send notifications to when using Terminal API.
        Parameters:
        localUrls -
      • getPublicUrls

        public List<Url> getPublicUrls()
        One or more public URLs to send notifications to when using Terminal API.
        Returns:
        publicUrls
      • setPublicUrls

        public void setPublicUrls​(List<Url> publicUrls)
        One or more public URLs to send notifications to when using Terminal API.
        Parameters:
        publicUrls -
      • equals

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

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

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

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