Class PlayerStreamer

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getVideo

        public final Boolean getVideo()
      • getSid

        public final String getSid()
      • getUrl

        public final URI getUrl()
      • getStatusCallback

        public final URI getStatusCallback()
      • getStatusCallbackMethod

        public final HttpMethod getStatusCallbackMethod()
      • getMaxDuration

        public final Integer getMaxDuration()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object