public class DocumentTemplateBinaryApi extends Object
| Constructor and Description |
|---|
DocumentTemplateBinaryApi() |
DocumentTemplateBinaryApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
File |
downloadDocumentTemplateFile(String workspaceId,
String templateId,
String fileName,
String range,
String type,
String output)
Download document template file
|
com.squareup.okhttp.Call |
downloadDocumentTemplateFileAsync(String workspaceId,
String templateId,
String fileName,
String range,
String type,
String output,
ApiCallback<File> callback)
Download document template file (asynchronously)
|
ApiResponse<File> |
downloadDocumentTemplateFileWithHttpInfo(String workspaceId,
String templateId,
String fileName,
String range,
String type,
String output)
Download document template file
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
uploadDocumentTemplateFiles(String workspaceId,
String templateId,
File upload)
Upload document template file
|
com.squareup.okhttp.Call |
uploadDocumentTemplateFilesAsync(String workspaceId,
String templateId,
File upload,
ApiCallback<Void> callback)
Upload document template file (asynchronously)
|
ApiResponse<Void> |
uploadDocumentTemplateFilesWithHttpInfo(String workspaceId,
String templateId,
File upload)
Upload document template file
|
public DocumentTemplateBinaryApi()
public DocumentTemplateBinaryApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void uploadDocumentTemplateFiles(String workspaceId, String templateId, File upload) throws ApiException
workspaceId - Workspace idtemplateId - Template idupload - ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> uploadDocumentTemplateFilesWithHttpInfo(String workspaceId, String templateId, File upload) throws ApiException
workspaceId - Workspace idtemplateId - Template idupload - ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call uploadDocumentTemplateFilesAsync(String workspaceId, String templateId, File upload, ApiCallback<Void> callback) throws ApiException
workspaceId - Workspace idtemplateId - Template idupload - 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 downloadDocumentTemplateFile(String workspaceId, String templateId, String fileName, String range, String type, String output) throws ApiException
workspaceId - Workspace idtemplateId - Template idfileName - File namerange - Rangetype - Typeoutput - OutputApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> downloadDocumentTemplateFileWithHttpInfo(String workspaceId, String templateId, String fileName, String range, String type, String output) throws ApiException
workspaceId - Workspace idtemplateId - Template idfileName - File namerange - Rangetype - Typeoutput - OutputApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call downloadDocumentTemplateFileAsync(String workspaceId, String templateId, String fileName, String range, String type, String output, ApiCallback<File> callback) throws ApiException
workspaceId - Workspace idtemplateId - Template idfileName - File namerange - Rangetype - Typeoutput - Outputcallback - 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.