public class Client
extends com.aliyun.teaopenapi.Client
_connectTimeout, _credential, _endpoint, _endpointMap, _endpointRule, _endpointType, _headers, _httpProxy, _httpsProxy, _maxIdleConns, _method, _network, _noProxy, _openPlatformEndpoint, _productId, _protocol, _readTimeout, _regionId, _signatureAlgorithm, _signatureVersion, _socks5NetWork, _socks5Proxy, _spi, _suffix, _userAgent| 构造器和说明 |
|---|
Client(com.aliyun.teaopenapi.models.Config config) |
addRequestInterceptor, addResponseInterceptor, addRuntimeOptionsInterceptor, callApi, checkConfig, defaultAny, doRequest, doROARequest, doROARequestWithForm, doRPCRequest, execute, getAccessKeyId, getAccessKeySecret, getBearerToken, getRpcHeaders, getSecurityToken, getType, getUserAgent, setRpcHeaderspublic AddCustomSpaceResponse addCustomSpace(AddCustomSpaceRequest request) throws Exception
Exceptionpublic AddCustomSpaceResponse addCustomSpaceWithOptions(AddCustomSpaceRequest request, AddCustomSpaceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic AddFileResponse addFile(String spaceId, AddFileRequest request) throws Exception
Exceptionpublic AddFileResponse addFileWithOptions(String spaceId, AddFileRequest request, AddFileHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic AddPermissionResponse addPermission(String spaceId, String fileId, AddPermissionRequest request) throws Exception
Exceptionpublic AddPermissionResponse addPermissionWithOptions(String spaceId, String fileId, AddPermissionRequest request, AddPermissionHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic AddSpaceResponse addSpace(AddSpaceRequest request) throws Exception
Exceptionpublic AddSpaceResponse addSpaceWithOptions(AddSpaceRequest request, AddSpaceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ClearRecycleFilesResponse clearRecycleFiles(ClearRecycleFilesRequest request) throws Exception
Exceptionpublic ClearRecycleFilesResponse clearRecycleFilesWithOptions(ClearRecycleFilesRequest request, ClearRecycleFilesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic CopyFileResponse copyFile(String spaceId, String fileId, CopyFileRequest request) throws Exception
Exceptionpublic CopyFileResponse copyFileWithOptions(String spaceId, String fileId, CopyFileRequest request, CopyFileHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DeleteFileResponse deleteFile(String spaceId, String fileId, DeleteFileRequest request) throws Exception
Exceptionpublic DeleteFileResponse deleteFileWithOptions(String spaceId, String fileId, DeleteFileRequest request, DeleteFileHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DeleteFilesResponse deleteFiles(String spaceId, DeleteFilesRequest request) throws Exception
Exceptionpublic DeleteFilesResponse deleteFilesWithOptions(String spaceId, DeleteFilesRequest request, DeleteFilesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DeletePermissionResponse deletePermission(String spaceId, String fileId, DeletePermissionRequest request) throws Exception
Exceptionpublic DeletePermissionResponse deletePermissionWithOptions(String spaceId, String fileId, DeletePermissionRequest request, DeletePermissionHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DeleteRecycleFilesResponse deleteRecycleFiles(DeleteRecycleFilesRequest request) throws Exception
Exceptionpublic DeleteRecycleFilesResponse deleteRecycleFilesWithOptions(DeleteRecycleFilesRequest request, DeleteRecycleFilesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic DeleteSpaceResponse deleteSpace(String spaceId, DeleteSpaceRequest request) throws Exception
Exceptionpublic DeleteSpaceResponse deleteSpaceWithOptions(String spaceId, DeleteSpaceRequest request, DeleteSpaceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GetAsyncTaskInfoResponse getAsyncTaskInfo(String taskId, GetAsyncTaskInfoRequest request) throws Exception
Exceptionpublic GetAsyncTaskInfoResponse getAsyncTaskInfoWithOptions(String taskId, GetAsyncTaskInfoRequest request, GetAsyncTaskInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GetDownloadInfoResponse getDownloadInfo(String spaceId, String fileId, GetDownloadInfoRequest request) throws Exception
Exceptionpublic GetDownloadInfoResponse getDownloadInfoWithOptions(String spaceId, String fileId, GetDownloadInfoRequest request, GetDownloadInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GetFileInfoResponse getFileInfo(String spaceId, String fileId, GetFileInfoRequest request) throws Exception
Exceptionpublic GetFileInfoResponse getFileInfoWithOptions(String spaceId, String fileId, GetFileInfoRequest request, GetFileInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GetMySpaceInfoResponse getMySpaceInfo(GetMySpaceInfoRequest request) throws Exception
Exceptionpublic GetMySpaceInfoResponse getMySpaceInfoWithOptions(GetMySpaceInfoRequest request, GetMySpaceInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GetPreviewInfoResponse getPreviewInfo(String spaceId, String fileId, GetPreviewInfoRequest request) throws Exception
Exceptionpublic GetPreviewInfoResponse getPreviewInfoWithOptions(String spaceId, String fileId, GetPreviewInfoRequest request, GetPreviewInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GetPrivilegeInfoResponse getPrivilegeInfo(String spaceId, String fileId, GetPrivilegeInfoRequest request) throws Exception
Exceptionpublic GetPrivilegeInfoResponse getPrivilegeInfoWithOptions(String spaceId, String fileId, GetPrivilegeInfoRequest request, GetPrivilegeInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GetQuotaInfosResponse getQuotaInfos(GetQuotaInfosRequest request) throws Exception
Exceptionpublic GetQuotaInfosResponse getQuotaInfosWithOptions(GetQuotaInfosRequest request, GetQuotaInfosHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GetUploadInfoResponse getUploadInfo(String spaceId, String parentId, GetUploadInfoRequest request) throws Exception
Exceptionpublic GetUploadInfoResponse getUploadInfoWithOptions(String spaceId, String parentId, GetUploadInfoRequest request, GetUploadInfoHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic GrantPrivilegeOfCustomSpaceResponse grantPrivilegeOfCustomSpace(String spaceId, GrantPrivilegeOfCustomSpaceRequest request) throws Exception
Exceptionpublic GrantPrivilegeOfCustomSpaceResponse grantPrivilegeOfCustomSpaceWithOptions(String spaceId, GrantPrivilegeOfCustomSpaceRequest request, GrantPrivilegeOfCustomSpaceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic InfoSpaceResponse infoSpace(String spaceId, InfoSpaceRequest request) throws Exception
Exceptionpublic InfoSpaceResponse infoSpaceWithOptions(String spaceId, InfoSpaceRequest request, InfoSpaceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ListFilesResponse listFiles(String spaceId, ListFilesRequest request) throws Exception
Exceptionpublic ListFilesResponse listFilesWithOptions(String spaceId, ListFilesRequest request, ListFilesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ListPermissionsResponse listPermissions(String spaceId, String fileId, ListPermissionsRequest request) throws Exception
Exceptionpublic ListPermissionsResponse listPermissionsWithOptions(String spaceId, String fileId, ListPermissionsRequest request, ListPermissionsHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ListRecycleFilesResponse listRecycleFiles(ListRecycleFilesRequest request) throws Exception
Exceptionpublic ListRecycleFilesResponse listRecycleFilesWithOptions(ListRecycleFilesRequest request, ListRecycleFilesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ListSpacesResponse listSpaces(ListSpacesRequest request) throws Exception
Exceptionpublic ListSpacesResponse listSpacesWithOptions(ListSpacesRequest request, ListSpacesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ManagementBuyQuotaResponse managementBuyQuota(ManagementBuyQuotaRequest request) throws Exception
Exceptionpublic ManagementBuyQuotaResponse managementBuyQuotaWithOptions(ManagementBuyQuotaRequest request, ManagementBuyQuotaHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ManagementListSpacesResponse managementListSpaces(ManagementListSpacesRequest request) throws Exception
Exceptionpublic ManagementListSpacesResponse managementListSpacesWithOptions(ManagementListSpacesRequest request, ManagementListSpacesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ManagementModifySpaceResponse managementModifySpace(ManagementModifySpaceRequest request) throws Exception
Exceptionpublic ManagementModifySpaceResponse managementModifySpaceWithOptions(ManagementModifySpaceRequest request, ManagementModifySpaceHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic ModifyPermissionResponse modifyPermission(String spaceId, String fileId, ModifyPermissionRequest request) throws Exception
Exceptionpublic ModifyPermissionResponse modifyPermissionWithOptions(String spaceId, String fileId, ModifyPermissionRequest request, ModifyPermissionHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic MoveFileResponse moveFile(String spaceId, String fileId, MoveFileRequest request) throws Exception
Exceptionpublic MoveFileResponse moveFileWithOptions(String spaceId, String fileId, MoveFileRequest request, MoveFileHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic MoveFilesResponse moveFiles(String spaceId, MoveFilesRequest request) throws Exception
Exceptionpublic MoveFilesResponse moveFilesWithOptions(String spaceId, MoveFilesRequest request, MoveFilesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic RecoverRecycleFilesResponse recoverRecycleFiles(RecoverRecycleFilesRequest request) throws Exception
Exceptionpublic RecoverRecycleFilesResponse recoverRecycleFilesWithOptions(RecoverRecycleFilesRequest request, RecoverRecycleFilesHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
Exceptionpublic RenameFileResponse renameFile(String spaceId, String fileId, RenameFileRequest request) throws Exception
Exceptionpublic RenameFileResponse renameFileWithOptions(String spaceId, String fileId, RenameFileRequest request, RenameFileHeaders headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception
ExceptionCopyright © 2022. All rights reserved.