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
      • getSid

        public final String getSid()
      • getRoomSid

        public final String getRoomSid()
      • getAccountSid

        public final String getAccountSid()
      • getIdentity

        public final String getIdentity()
      • getDuration

        public final Integer getDuration()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object