Class Participant

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getConversationSid

        public final String getConversationSid()
      • getSid

        public final String getSid()
      • getIdentity

        public final String getIdentity()
      • getAttributes

        public final String getAttributes()
      • getMessagingBinding

        public final Map<String,​Object> getMessagingBinding()
      • getRoleSid

        public final String getRoleSid()
      • getUrl

        public final URI getUrl()
      • getLastReadMessageIndex

        public final Integer getLastReadMessageIndex()
      • getLastReadTimestamp

        public final String getLastReadTimestamp()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object