Class DocumentDownloadResponse

java.lang.Object
ai.vectros.types.DocumentDownloadResponse

public final class DocumentDownloadResponse extends Object
  • Method Details

    • getId

      public Optional<String> getId()
      Returns:
      Document ID.
    • getDownloadUrl

      public Optional<String> getDownloadUrl()
      Returns:
      Presigned download URL for the original file. Short-lived — fetch the file before the time given in expires.
    • getExpires

      public Optional<Long> getExpires()
      Returns:
      Epoch-millis (Unix milliseconds) timestamp at which the presigned URL expires.
    • getFileType

      public Optional<String> getFileType()
      Returns:
      MIME type of the file, as captured at upload time.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static DocumentDownloadResponse.Builder builder()