public class DocumentBinaryApi extends Object
Constructor and Description |
---|
DocumentBinaryApi() |
DocumentBinaryApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
File |
downloadDocumentFile(String workspaceId,
String documentId,
String version,
Integer iteration,
String fileName,
String type,
String output,
String range,
String uuid,
String password,
String token)
Download document file
|
com.squareup.okhttp.Call |
downloadDocumentFileAsync(String workspaceId,
String documentId,
String version,
Integer iteration,
String fileName,
String type,
String output,
String range,
String uuid,
String password,
String token,
ApiCallback<File> callback)
Download document file (asynchronously)
|
ApiResponse<File> |
downloadDocumentFileWithHttpInfo(String workspaceId,
String documentId,
String version,
Integer iteration,
String fileName,
String type,
String output,
String range,
String uuid,
String password,
String token)
Download document file
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
uploadDocumentFiles(String workspaceId,
String documentId,
String version,
Integer iteration,
File upload)
Upload document file
|
com.squareup.okhttp.Call |
uploadDocumentFilesAsync(String workspaceId,
String documentId,
String version,
Integer iteration,
File upload,
ApiCallback<Void> callback)
Upload document file (asynchronously)
|
ApiResponse<Void> |
uploadDocumentFilesWithHttpInfo(String workspaceId,
String documentId,
String version,
Integer iteration,
File upload)
Upload document file
|
public DocumentBinaryApi()
public DocumentBinaryApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void uploadDocumentFiles(String workspaceId, String documentId, String version, Integer iteration, File upload) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master idversion
- Workspace versioniteration
- Document iterationupload
- ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> uploadDocumentFilesWithHttpInfo(String workspaceId, String documentId, String version, Integer iteration, File upload) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master idversion
- Workspace versioniteration
- Document iterationupload
- ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call uploadDocumentFilesAsync(String workspaceId, String documentId, String version, Integer iteration, File upload, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master idversion
- Workspace versioniteration
- Document iterationupload
- callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic File downloadDocumentFile(String workspaceId, String documentId, String version, Integer iteration, String fileName, String type, String output, String range, String uuid, String password, String token) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master idversion
- Workspace versioniteration
- Document iterationfileName
- File nametype
- Typeoutput
- Outputrange
- Rangeuuid
- Shared entity uuidpassword
- Password for private resourcetoken
- Shared entity tokenApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> downloadDocumentFileWithHttpInfo(String workspaceId, String documentId, String version, Integer iteration, String fileName, String type, String output, String range, String uuid, String password, String token) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master idversion
- Workspace versioniteration
- Document iterationfileName
- File nametype
- Typeoutput
- Outputrange
- Rangeuuid
- Shared entity uuidpassword
- Password for private resourcetoken
- Shared entity tokenApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call downloadDocumentFileAsync(String workspaceId, String documentId, String version, Integer iteration, String fileName, String type, String output, String range, String uuid, String password, String token, ApiCallback<File> callback) throws ApiException
workspaceId
- Workspace iddocumentId
- Document master idversion
- Workspace versioniteration
- Document iterationfileName
- File nametype
- Typeoutput
- Outputrange
- Rangeuuid
- Shared entity uuidpassword
- Password for private resourcetoken
- Shared entity tokencallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019 DocDoku. All rights reserved.