Class UserConversation

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getChatServiceSid

        public final String getChatServiceSid()
      • getConversationSid

        public final String getConversationSid()
      • getUnreadMessagesCount

        public final Integer getUnreadMessagesCount()
      • getLastReadMessageIndex

        public final Integer getLastReadMessageIndex()
      • getParticipantSid

        public final String getParticipantSid()
      • getUserSid

        public final String getUserSid()
      • getFriendlyName

        public final String getFriendlyName()
      • getAttributes

        public final String getAttributes()
      • getCreatedBy

        public final String getCreatedBy()
      • getUniqueName

        public final String getUniqueName()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object