AliyunpanFileScope

Types

Link copied to clipboard
class BatchGet(fileList: String) : AliyunpanScope

批量获取文件详情

Link copied to clipboard
class CompleteUpload(driveId: String, fileId: String, uploadId: String) : AliyunpanScope

标记文件上传完毕

Link copied to clipboard
class CopyFile(driveId: String, fileId: String, toDriveId: String? = null, toParentFileId: String, autoRename: Boolean? = null) : AliyunpanScope

复制文件或文件夹

Link copied to clipboard
class CreateFile(driveId: String, parentFileId: String, name: String, type: String, checkNameMode: String, partInfoList: String? = null, streamsInfo: String? = null, preHash: String? = null, size: Long? = null, contentHash: String? = null, contentHashName: String? = null, proofCode: String? = null, proofVersion: String? = null, localCreatedAt: String? = null, localModifiedAt: String? = null) : AliyunpanScope

创建文件

Link copied to clipboard
class DeleteFile(driveId: String, fileId: String) : AliyunpanScope

删除文件

Link copied to clipboard
class GetAsyncTask(asyncTaskId: String) : AliyunpanScope

获取异步任务状态

Link copied to clipboard
class GetFile(driveId: String, fileId: String, videoThumbnailTime: Long? = null, videoThumbnailWidth: Long? = null, imageThumbnailWidth: Long? = null) : AliyunpanScope

获取文件详情

Link copied to clipboard
class GetFileByPath(driveId: String, filePath: String) : AliyunpanScope

根据文件路径查找文件

Link copied to clipboard
class GetFileGetDownloadUrl(driveId: String, fileId: String, expireSec: Int? = null) : AliyunpanScope

获取文件下载详情

Link copied to clipboard
class GetFileList(driveId: String, limit: Int? = null, marker: String? = null, orderBy: String? = null, orderDirection: String? = null, parentFileId: String, category: String? = null, type: String? = null, videoThumbnailTime: Long? = null, videoThumbnailWidth: Long? = null, imageThumbnailWidth: Long? = null, fields: String? = null) : AliyunpanScope

获取文件列表

Link copied to clipboard
class GetStarredList(driveId: String, limit: Int? = null, marker: String? = null, orderBy: String? = null, videoThumbnailTime: Long? = null, videoThumbnailWidth: Long? = null, imageThumbnailWidth: Long? = null, orderDirection: String? = null, type: String? = null) : AliyunpanScope

获取收藏文件列表

Link copied to clipboard
class GetUploadURL(driveId: String, fileId: String, uploadId: String, partInfoList: String? = null) : AliyunpanScope

刷新获取上传地址

Link copied to clipboard
class ListUploadedParts(driveId: String, fileId: String, uploadId: String, partNumberMarker: String? = null) : AliyunpanScope

列举已上传分片

Link copied to clipboard
class MoveFile(driveId: String, fileId: String, toDriveId: String? = null, toParentFileId: String, checkNameMode: String? = null, newName: String? = null) : AliyunpanScope

移动文件或文件夹

Link copied to clipboard
class SearchFile(driveId: String, limit: Int? = null, marker: String? = null, query: String? = null, orderBy: String? = null, videoThumbnailTime: Long? = null, videoThumbnailWidth: Long? = null, imageThumbnailWidth: Long? = null, returnTotalCount: Boolean? = null) : AliyunpanScope

文件搜索

Link copied to clipboard

放入回收站

Link copied to clipboard
class UpdateFile(driveId: String, fileId: String, name: String? = null, checkNameMode: String? = null, starred: Boolean? = null) : AliyunpanScope

文件更新