Class Recording

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getSid

        public final String getSid()
      • getSourceSid

        public final String getSourceSid()
      • getSize

        public final Long getSize()
      • getUrl

        public final URI getUrl()
      • getDuration

        public final Integer getDuration()
      • getTrackName

        public final String getTrackName()
      • getOffset

        public final Long getOffset()
      • getMediaExternalLocation

        public final URI getMediaExternalLocation()
      • getStatusCallback

        public final URI getStatusCallback()
      • getStatusCallbackMethod

        public final HttpMethod getStatusCallbackMethod()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object