public class PartTemplateBinaryApi extends Object
Constructor and Description |
---|
PartTemplateBinaryApi() |
PartTemplateBinaryApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
File |
downloadPartTemplateFile(String workspaceId,
String templateId,
String fileName,
String range)
Download part template file
|
com.squareup.okhttp.Call |
downloadPartTemplateFileAsync(String workspaceId,
String templateId,
String fileName,
String range,
ApiCallback<File> callback)
Download part template file (asynchronously)
|
ApiResponse<File> |
downloadPartTemplateFileWithHttpInfo(String workspaceId,
String templateId,
String fileName,
String range)
Download part template file
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
uploadPartTemplateFiles(String workspaceId,
String templateId,
File upload)
Upload part template files
|
com.squareup.okhttp.Call |
uploadPartTemplateFilesAsync(String workspaceId,
String templateId,
File upload,
ApiCallback<Void> callback)
Upload part template files (asynchronously)
|
ApiResponse<Void> |
uploadPartTemplateFilesWithHttpInfo(String workspaceId,
String templateId,
File upload)
Upload part template files
|
public PartTemplateBinaryApi()
public PartTemplateBinaryApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void uploadPartTemplateFiles(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> uploadPartTemplateFilesWithHttpInfo(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 uploadPartTemplateFilesAsync(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 downloadPartTemplateFile(String workspaceId, String templateId, String fileName, String range) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idfileName
- File namerange
- RangeApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> downloadPartTemplateFileWithHttpInfo(String workspaceId, String templateId, String fileName, String range) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idfileName
- File namerange
- RangeApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call downloadPartTemplateFileAsync(String workspaceId, String templateId, String fileName, String range, ApiCallback<File> callback) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idfileName
- File namerange
- Rangecallback
- 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.