Class FileObject

java.lang.Object
com.alibaba.dashscope.types.common.ResponseBase
com.alibaba.dashscope.types.files.FileObject

public final class FileObject extends ResponseBase
One uploaded file (Python v2 File parity; named FileObject to stay clear of java.io.File). Returned on its own by upload/get and nested in FileList.getFiles(); the envelope is filled in on the standalone result and stays empty on the nested copies, because the server reports it once per response rather than once per item.
  • Constructor Details

    • FileObject

      public FileObject()
  • Method Details

    • getFileId

      public String getFileId()
    • getName

      public String getName()
    • getPurpose

      public String getPurpose()
    • getSize

      public Long getSize()
    • getUploadedAt

      public String getUploadedAt()