Class UserChannel

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getServiceSid

        public final String getServiceSid()
      • getChannelSid

        public final String getChannelSid()
      • getUserSid

        public final String getUserSid()
      • getMemberSid

        public final String getMemberSid()
      • getLastConsumedMessageIndex

        public final Integer getLastConsumedMessageIndex()
      • getUnreadMessagesCount

        public final Integer getUnreadMessagesCount()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object