Class Nexo


  • public class Nexo
    extends Object
    Nexo
    • Constructor Detail

      • Nexo

        public Nexo()
    • Method Detail

      • displayUrls

        public Nexo displayUrls​(NotificationUrl displayUrls)
        displayUrls
        Parameters:
        displayUrls -
        Returns:
        the current Nexo instance, allowing for method chaining
      • getDisplayUrls

        public NotificationUrl getDisplayUrls()
        displayUrls
        Returns:
        displayUrls
      • setDisplayUrls

        public void setDisplayUrls​(NotificationUrl displayUrls)
        displayUrls
        Parameters:
        displayUrls -
      • encryptionKey

        public Nexo encryptionKey​(Key encryptionKey)
        encryptionKey
        Parameters:
        encryptionKey -
        Returns:
        the current Nexo instance, allowing for method chaining
      • getEncryptionKey

        public Key getEncryptionKey()
        encryptionKey
        Returns:
        encryptionKey
      • setEncryptionKey

        public void setEncryptionKey​(Key encryptionKey)
        encryptionKey
        Parameters:
        encryptionKey -
      • eventUrls

        public Nexo eventUrls​(EventUrl eventUrls)
        eventUrls
        Parameters:
        eventUrls -
        Returns:
        the current Nexo instance, allowing for method chaining
      • getEventUrls

        public EventUrl getEventUrls()
        eventUrls
        Returns:
        eventUrls
      • setEventUrls

        public void setEventUrls​(EventUrl eventUrls)
        eventUrls
        Parameters:
        eventUrls -
      • nexoEventUrls

        @Deprecated
        public Nexo nexoEventUrls​(List<String> nexoEventUrls)
        Deprecated.
        since Management API v1 Use `eventUrls` instead.
        One or more URLs to send event messages to when using Terminal API.
        Parameters:
        nexoEventUrls -
        Returns:
        the current Nexo instance, allowing for method chaining
      • addNexoEventUrlsItem

        public Nexo addNexoEventUrlsItem​(String nexoEventUrlsItem)
      • getNexoEventUrls

        @Deprecated
        public List<String> getNexoEventUrls()
        Deprecated.
        since Management API v1 Use `eventUrls` instead.
        One or more URLs to send event messages to when using Terminal API.
        Returns:
        nexoEventUrls
      • setNexoEventUrls

        @Deprecated
        public void setNexoEventUrls​(List<String> nexoEventUrls)
        Deprecated.
        since Management API v1 Use `eventUrls` instead.
        One or more URLs to send event messages to when using Terminal API.
        Parameters:
        nexoEventUrls -
      • notification

        public Nexo notification​(Notification notification)
        notification
        Parameters:
        notification -
        Returns:
        the current Nexo instance, allowing for method chaining
      • getNotification

        public Notification getNotification()
        notification
        Returns:
        notification
      • setNotification

        public void setNotification​(Notification notification)
        notification
        Parameters:
        notification -
      • equals

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

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

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

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