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

        public final String getParticipantSid()
      • getParticipantIdentity

        public final String getParticipantIdentity()
      • getDurationSec

        public final Long getDurationSec()
      • getAccountSid

        public final String getAccountSid()
      • getRoomSid

        public final String getRoomSid()
      • getEndReason

        public final String getEndReason()
      • getErrorCode

        public final Integer getErrorCode()
      • getErrorCodeUrl

        public final String getErrorCodeUrl()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object