public class PartBinaryApi extends Object
Constructor and Description |
---|
PartBinaryApi() |
PartBinaryApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
File |
downloadDirectPartFile(String workspaceId,
String partNumber,
String version,
Integer iteration,
String fileName,
String type,
String output,
String range,
String uuid,
String password,
String token)
Download part file without a sub type
|
com.squareup.okhttp.Call |
downloadDirectPartFileAsync(String workspaceId,
String partNumber,
String version,
Integer iteration,
String fileName,
String type,
String output,
String range,
String uuid,
String password,
String token,
ApiCallback<File> callback)
Download part file without a sub type (asynchronously)
|
ApiResponse<File> |
downloadDirectPartFileWithHttpInfo(String workspaceId,
String partNumber,
String version,
Integer iteration,
String fileName,
String type,
String output,
String range,
String uuid,
String password,
String token)
Download part file without a sub type
|
File |
downloadPartFile(String workspaceId,
String partNumber,
String version,
Integer iteration,
String subType,
String fileName,
String type,
String output,
String range,
String uuid,
String password,
String token)
Download part file with a sub type
|
com.squareup.okhttp.Call |
downloadPartFileAsync(String workspaceId,
String partNumber,
String version,
Integer iteration,
String subType,
String fileName,
String type,
String output,
String range,
String uuid,
String password,
String token,
ApiCallback<File> callback)
Download part file with a sub type (asynchronously)
|
ApiResponse<File> |
downloadPartFileWithHttpInfo(String workspaceId,
String partNumber,
String version,
Integer iteration,
String subType,
String fileName,
String type,
String output,
String range,
String uuid,
String password,
String token)
Download part file with a sub type
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
uploadAttachedFiles(String workspaceId,
String partNumber,
String version,
Integer iteration,
File upload)
Upload attached file
|
com.squareup.okhttp.Call |
uploadAttachedFilesAsync(String workspaceId,
String partNumber,
String version,
Integer iteration,
File upload,
ApiCallback<Void> callback)
Upload attached file (asynchronously)
|
ApiResponse<Void> |
uploadAttachedFilesWithHttpInfo(String workspaceId,
String partNumber,
String version,
Integer iteration,
File upload)
Upload attached file
|
void |
uploadNativeCADFile(String workspaceId,
String partNumber,
String version,
Integer iteration,
File upload)
Upload CAD file
|
com.squareup.okhttp.Call |
uploadNativeCADFileAsync(String workspaceId,
String partNumber,
String version,
Integer iteration,
File upload,
ApiCallback<Void> callback)
Upload CAD file (asynchronously)
|
ApiResponse<Void> |
uploadNativeCADFileWithHttpInfo(String workspaceId,
String partNumber,
String version,
Integer iteration,
File upload)
Upload CAD file
|
public PartBinaryApi()
public PartBinaryApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void uploadAttachedFiles(String workspaceId, String partNumber, String version, Integer iteration, File upload) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberversion
- Part versioniteration
- Part iterationupload
- ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> uploadAttachedFilesWithHttpInfo(String workspaceId, String partNumber, String version, Integer iteration, File upload) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberversion
- Part versioniteration
- Part iterationupload
- ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call uploadAttachedFilesAsync(String workspaceId, String partNumber, String version, Integer iteration, File upload, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberversion
- Part versioniteration
- Part 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 void uploadNativeCADFile(String workspaceId, String partNumber, String version, Integer iteration, File upload) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberversion
- Part versioniteration
- Part iterationupload
- ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> uploadNativeCADFileWithHttpInfo(String workspaceId, String partNumber, String version, Integer iteration, File upload) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberversion
- Part versioniteration
- Part iterationupload
- ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call uploadNativeCADFileAsync(String workspaceId, String partNumber, String version, Integer iteration, File upload, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberversion
- Part versioniteration
- Part 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 downloadDirectPartFile(String workspaceId, String partNumber, String version, Integer iteration, String fileName, String type, String output, String range, String uuid, String password, String token) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberversion
- Part versioniteration
- Part 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> downloadDirectPartFileWithHttpInfo(String workspaceId, String partNumber, String version, Integer iteration, String fileName, String type, String output, String range, String uuid, String password, String token) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberversion
- Part versioniteration
- Part 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 downloadDirectPartFileAsync(String workspaceId, String partNumber, 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 idpartNumber
- Part numberversion
- Part versioniteration
- Part 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 objectpublic File downloadPartFile(String workspaceId, String partNumber, String version, Integer iteration, String subType, String fileName, String type, String output, String range, String uuid, String password, String token) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberversion
- Part versioniteration
- Part iterationsubType
- File sub typefileName
- 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> downloadPartFileWithHttpInfo(String workspaceId, String partNumber, String version, Integer iteration, String subType, String fileName, String type, String output, String range, String uuid, String password, String token) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberversion
- Part versioniteration
- Part iterationsubType
- File sub typefileName
- 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 downloadPartFileAsync(String workspaceId, String partNumber, String version, Integer iteration, String subType, String fileName, String type, String output, String range, String uuid, String password, String token, ApiCallback<File> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberversion
- Part versioniteration
- Part iterationsubType
- File sub typefileName
- 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.