Class Composition

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getDateCompleted

        public final ZonedDateTime getDateCompleted()
      • getSid

        public final String getSid()
      • getRoomSid

        public final String getRoomSid()
      • getAudioSources

        public final List<String> getAudioSources()
      • getAudioSourcesExcluded

        public final List<String> getAudioSourcesExcluded()
      • getResolution

        public final String getResolution()
      • getTrim

        public final Boolean getTrim()
      • getBitrate

        public final Integer getBitrate()
      • getSize

        public final Long getSize()
      • getDuration

        public final Integer getDuration()
      • getMediaExternalLocation

        public final URI getMediaExternalLocation()
      • getStatusCallback

        public final URI getStatusCallback()
      • getStatusCallbackMethod

        public final HttpMethod getStatusCallbackMethod()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object