Class MediaProcessor

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getSid

        public final String getSid()
      • getExtension

        public final String getExtension()
      • getExtensionContext

        public final String getExtensionContext()
      • getUrl

        public final URI getUrl()
      • getEndedReason

        public final String getEndedReason()
      • getStatusCallback

        public final URI getStatusCallback()
      • getStatusCallbackMethod

        public final HttpMethod getStatusCallbackMethod()
      • getMaxDuration

        public final Integer getMaxDuration()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object