Class UserInfo

    • Method Detail

      • fromJson

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

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

        public final String getUserSid()
      • getFirstName

        public final String getFirstName()
      • getLastName

        public final String getLastName()
      • getFriendlyName

        public final String getFriendlyName()
      • getEmail

        public final String getEmail()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object