Class PlaybackGrant

    • Method Detail

      • fromJson

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

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

        public final String getSid()
      • getUrl

        public final URI getUrl()
      • getAccountSid

        public final String getAccountSid()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object