Class NewKey

    • Method Detail

      • fromJson

        public static NewKey fromJson​(String json,
                                      com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a NewKey object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        NewKey object represented by the provided JSON
      • fromJson

        public static NewKey fromJson​(InputStream json,
                                      com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a NewKey object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        NewKey object represented by the provided JSON
      • getSid

        public final String getSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getSecret

        public final String getSecret()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object