Class Sample

    • Method Detail

      • fromJson

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

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

        public final String getAccountSid()
      • getTaskSid

        public final String getTaskSid()
      • getLanguage

        public final String getLanguage()
      • getAssistantSid

        public final String getAssistantSid()
      • getSid

        public final String getSid()
      • getTaggedText

        public final String getTaggedText()
      • getUrl

        public final URI getUrl()
      • getSourceChannel

        public final String getSourceChannel()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object