Class User

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getIdentity

        public final String getIdentity()
      • getFriendlyName

        public final String getFriendlyName()
      • getAvatar

        public final String getAvatar()
      • getIsAvailable

        public final Boolean getIsAvailable()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object