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()
      • getAccountSid

        public final String getAccountSid()
      • getServiceSid

        public final String getServiceSid()
      • getAttributes

        public final String getAttributes()
      • getFriendlyName

        public final String getFriendlyName()
      • getRoleSid

        public final String getRoleSid()
      • getIdentity

        public final String getIdentity()
      • getIsOnline

        public final Boolean getIsOnline()
      • getIsNotifiable

        public final Boolean getIsNotifiable()
      • getJoinedChannelsCount

        public final Integer getJoinedChannelsCount()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object