Class FileContents


  • public final class FileContents
    extends java.lang.Object
    • Method Detail

      • getRawText

        public java.util.Optional<java.lang.String> getRawText()
        Returns:
        The raw text content of the file. This is included for all file types if the rawText query parameter is set to true in the endpoint request.
      • getMarkdown

        public java.util.Optional<java.lang.String> getMarkdown()
        Returns:
        Cleaned and structured markdown content of the entire file. Available for PDF and IMG file types. Only included if the markdown query parameter is set to true in the endpoint request.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object