Class ParseAsyncRequestFile


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

      • getFileName

        public java.util.Optional<java.lang.String> getFileName()
        Returns:
        The name of the file. If not set, the file name is taken from the url.
      • getFileUrl

        public java.util.Optional<java.lang.String> getFileUrl()
        Returns:
        A URL to download the file. For production use cases, we recommend using presigned URLs with a 5-15 minute expiration time. One of fileUrl or fileId must be provided.
      • getFileId

        public java.util.Optional<java.lang.String> getFileId()
        Returns:
        If you already have an Extend file id (for instance from running a workflow or a previous file upload) then you can use that file id when running the parse endpoint so that it leverage any cached data that might be available. The file id will start with "file_". One of fileUrl or fileId must be provided.

        Example: "file_xK9mLPqRtN3vS8wF5hB2cQ"

      • 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