public class PartApi extends Object
Modifier and Type | Method and Description |
---|---|
PartRevisionDTO |
addPartTag(String workspaceId,
String partNumber,
String partVersion,
TagListDTO body)
Add tags to part revision
|
com.squareup.okhttp.Call |
addPartTagAsync(String workspaceId,
String partNumber,
String partVersion,
TagListDTO body,
ApiCallback<PartRevisionDTO> callback)
Add tags to part revision (asynchronously)
|
ApiResponse<PartRevisionDTO> |
addPartTagWithHttpInfo(String workspaceId,
String partNumber,
String partVersion,
TagListDTO body)
Add tags to part revision
|
PartRevisionDTO |
checkIn(String workspaceId,
String partNumber,
String partVersion)
Checkin part revision
|
com.squareup.okhttp.Call |
checkInAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<PartRevisionDTO> callback)
Checkin part revision (asynchronously)
|
ApiResponse<PartRevisionDTO> |
checkInWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Checkin part revision
|
PartRevisionDTO |
checkOut(String workspaceId,
String partNumber,
String partVersion)
Checkout part revision
|
com.squareup.okhttp.Call |
checkOutAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<PartRevisionDTO> callback)
Checkout part revision (asynchronously)
|
ApiResponse<PartRevisionDTO> |
checkOutWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Checkout part revision
|
void |
createNewPartVersion(String workspaceId,
String partNumber,
String partVersion,
PartCreationDTO body)
Create new part version
|
com.squareup.okhttp.Call |
createNewPartVersionAsync(String workspaceId,
String partNumber,
String partVersion,
PartCreationDTO body,
ApiCallback<Void> callback)
Create new part version (asynchronously)
|
ApiResponse<Void> |
createNewPartVersionWithHttpInfo(String workspaceId,
String partNumber,
String partVersion,
PartCreationDTO body)
Create new part version
|
SharedPartDTO |
createSharedPart(String workspaceId,
String partNumber,
String partVersion,
SharedPartDTO body)
Create a new shared part from part revision
|
com.squareup.okhttp.Call |
createSharedPartAsync(String workspaceId,
String partNumber,
String partVersion,
SharedPartDTO body,
ApiCallback<SharedPartDTO> callback)
Create a new shared part from part revision (asynchronously)
|
ApiResponse<SharedPartDTO> |
createSharedPartWithHttpInfo(String workspaceId,
String partNumber,
String partVersion,
SharedPartDTO body)
Create a new shared part from part revision
|
void |
deletePartRevision(String workspaceId,
String partNumber,
String partVersion)
Delete part revision
|
com.squareup.okhttp.Call |
deletePartRevisionAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<Void> callback)
Delete part revision (asynchronously)
|
ApiResponse<Void> |
deletePartRevisionWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Delete part revision
|
List<WorkflowDTO> |
getAbortedWorkflowListInPart(String workspaceId,
String partNumber,
String partVersion)
Get part revision's aborted workflow list
|
com.squareup.okhttp.Call |
getAbortedWorkflowListInPartAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<List<WorkflowDTO>> callback)
Get part revision's aborted workflow list (asynchronously)
|
ApiResponse<List<WorkflowDTO>> |
getAbortedWorkflowListInPartWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Get part revision's aborted workflow list
|
ApiClient |
getApiClient() |
List<ProductBaselineDTO> |
getBaselinesWherePartRevisionHasIterations(String workspaceId,
String partNumber,
String partVersion)
Get product baselines where part revision is involved
|
com.squareup.okhttp.Call |
getBaselinesWherePartRevisionHasIterationsAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<List<ProductBaselineDTO>> callback)
Get product baselines where part revision is involved (asynchronously)
|
ApiResponse<List<ProductBaselineDTO>> |
getBaselinesWherePartRevisionHasIterationsWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Get product baselines where part revision is involved
|
ConversionDTO |
getConversionStatus(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration)
Get part iteration conversion status
|
com.squareup.okhttp.Call |
getConversionStatusAsync(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration,
ApiCallback<ConversionDTO> callback)
Get part iteration conversion status (asynchronously)
|
ApiResponse<ConversionDTO> |
getConversionStatusWithHttpInfo(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration)
Get part iteration conversion status
|
List<LeafDTO> |
getInstancesUnderPart(String workspaceId,
String partNumber,
String partVersion)
Get instances under given part revision (latest checked-in view)
|
com.squareup.okhttp.Call |
getInstancesUnderPartAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<List<LeafDTO>> callback)
Get instances under given part revision (latest checked-in view) (asynchronously)
|
ApiResponse<List<LeafDTO>> |
getInstancesUnderPartWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Get instances under given part revision (latest checked-in view)
|
PartRevisionDTO |
getPartRevision(String workspaceId,
String partNumber,
String partVersion)
Get part revision
|
com.squareup.okhttp.Call |
getPartRevisionAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<PartRevisionDTO> callback)
Get part revision (asynchronously)
|
ApiResponse<PartRevisionDTO> |
getPartRevisionWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Get part revision
|
List<ProductInstanceMasterDTO> |
getProductInstanceMasters(String workspaceId,
String partNumber,
String partVersion)
Get product instance where part revision is in use
|
com.squareup.okhttp.Call |
getProductInstanceMastersAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<List<ProductInstanceMasterDTO>> callback)
Get product instance where part revision is in use (asynchronously)
|
ApiResponse<List<ProductInstanceMasterDTO>> |
getProductInstanceMastersWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Get product instance where part revision is in use
|
List<PartRevisionDTO> |
getUsedByAsComponent(String workspaceId,
String partNumber,
String partVersion)
Get part revisions where given part revision is used as a component
|
com.squareup.okhttp.Call |
getUsedByAsComponentAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<List<PartRevisionDTO>> callback)
Get part revisions where given part revision is used as a component (asynchronously)
|
ApiResponse<List<PartRevisionDTO>> |
getUsedByAsComponentWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Get part revisions where given part revision is used as a component
|
List<PartRevisionDTO> |
getUsedByAsSubstitute(String workspaceId,
String partNumber,
String partVersion)
Get part revisions where given part revision is used as a substitute
|
com.squareup.okhttp.Call |
getUsedByAsSubstituteAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<List<PartRevisionDTO>> callback)
Get part revisions where given part revision is used as a substitute (asynchronously)
|
ApiResponse<List<PartRevisionDTO>> |
getUsedByAsSubstituteWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Get part revisions where given part revision is used as a substitute
|
PartRevisionDTO |
markPartRevisionAsObsolete(String workspaceId,
String partNumber,
String partVersion)
Set part revision as obsolete
|
com.squareup.okhttp.Call |
markPartRevisionAsObsoleteAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<PartRevisionDTO> callback)
Set part revision as obsolete (asynchronously)
|
ApiResponse<PartRevisionDTO> |
markPartRevisionAsObsoleteWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Set part revision as obsolete
|
void |
publishPartRevision(String workspaceId,
String partNumber,
String partVersion)
Publish part revision
|
com.squareup.okhttp.Call |
publishPartRevisionAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<Void> callback)
Publish part revision (asynchronously)
|
ApiResponse<Void> |
publishPartRevisionWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Publish part revision
|
PartRevisionDTO |
releasePartRevision(String workspaceId,
String partNumber,
String partVersion)
Release part revision
|
com.squareup.okhttp.Call |
releasePartRevisionAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<PartRevisionDTO> callback)
Release part revision (asynchronously)
|
ApiResponse<PartRevisionDTO> |
releasePartRevisionWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Release part revision
|
void |
removeFile(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration,
String subType,
String fileName)
Remove file from part iteration
|
com.squareup.okhttp.Call |
removeFileAsync(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration,
String subType,
String fileName,
ApiCallback<Void> callback)
Remove file from part iteration (asynchronously)
|
ApiResponse<Void> |
removeFileWithHttpInfo(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration,
String subType,
String fileName)
Remove file from part iteration
|
PartRevisionDTO |
removePartTags(String workspaceId,
String partNumber,
String partVersion,
String tagName)
Delete tags from part revision
|
com.squareup.okhttp.Call |
removePartTagsAsync(String workspaceId,
String partNumber,
String partVersion,
String tagName,
ApiCallback<PartRevisionDTO> callback)
Delete tags from part revision (asynchronously)
|
ApiResponse<PartRevisionDTO> |
removePartTagsWithHttpInfo(String workspaceId,
String partNumber,
String partVersion,
String tagName)
Delete tags from part revision
|
void |
renameAttachedFileInPartIteration(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration,
String subType,
String fileName,
FileDTO body)
Rename attached file from part iteration
|
com.squareup.okhttp.Call |
renameAttachedFileInPartIterationAsync(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration,
String subType,
String fileName,
FileDTO body,
ApiCallback<Void> callback)
Rename attached file from part iteration (asynchronously)
|
ApiResponse<Void> |
renameAttachedFileInPartIterationWithHttpInfo(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration,
String subType,
String fileName,
FileDTO body)
Rename attached file from part iteration
|
void |
retryConversion(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration)
Retry part iteration conversion
|
com.squareup.okhttp.Call |
retryConversionAsync(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration,
ApiCallback<Void> callback)
Retry part iteration conversion (asynchronously)
|
ApiResponse<Void> |
retryConversionWithHttpInfo(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration)
Retry part iteration conversion
|
PartRevisionDTO |
savePartTags(String workspaceId,
String partNumber,
String partVersion,
TagListDTO body)
Save part revision tags
|
com.squareup.okhttp.Call |
savePartTagsAsync(String workspaceId,
String partNumber,
String partVersion,
TagListDTO body,
ApiCallback<PartRevisionDTO> callback)
Save part revision tags (asynchronously)
|
ApiResponse<PartRevisionDTO> |
savePartTagsWithHttpInfo(String workspaceId,
String partNumber,
String partVersion,
TagListDTO body)
Save part revision tags
|
void |
setApiClient(ApiClient apiClient) |
PartRevisionDTO |
undoCheckOut(String workspaceId,
String partNumber,
String partVersion)
Undo checkout part revision
|
com.squareup.okhttp.Call |
undoCheckOutAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<PartRevisionDTO> callback)
Undo checkout part revision (asynchronously)
|
ApiResponse<PartRevisionDTO> |
undoCheckOutWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Undo checkout part revision
|
void |
unPublishPartRevision(String workspaceId,
String partNumber,
String partVersion)
Un-publish part revision
|
com.squareup.okhttp.Call |
unPublishPartRevisionAsync(String workspaceId,
String partNumber,
String partVersion,
ApiCallback<Void> callback)
Un-publish part revision (asynchronously)
|
ApiResponse<Void> |
unPublishPartRevisionWithHttpInfo(String workspaceId,
String partNumber,
String partVersion)
Un-publish part revision
|
PartRevisionDTO |
updatePartIteration(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration,
PartIterationDTO body)
Update part iteration
|
com.squareup.okhttp.Call |
updatePartIterationAsync(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration,
PartIterationDTO body,
ApiCallback<PartRevisionDTO> callback)
Update part iteration (asynchronously)
|
ApiResponse<PartRevisionDTO> |
updatePartIterationWithHttpInfo(String workspaceId,
String partNumber,
String partVersion,
Integer partIteration,
PartIterationDTO body)
Update part iteration
|
void |
updatePartRevisionACL(String workspaceId,
String partNumber,
String partVersion,
ACLDTO body)
Update part revision ACL
|
com.squareup.okhttp.Call |
updatePartRevisionACLAsync(String workspaceId,
String partNumber,
String partVersion,
ACLDTO body,
ApiCallback<Void> callback)
Update part revision ACL (asynchronously)
|
ApiResponse<Void> |
updatePartRevisionACLWithHttpInfo(String workspaceId,
String partNumber,
String partVersion,
ACLDTO body)
Update part revision ACL
|
public PartApi()
public PartApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public PartRevisionDTO getPartRevision(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartRevisionDTO> getPartRevisionWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getPartRevisionAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<PartRevisionDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- 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 deletePartRevision(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deletePartRevisionWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deletePartRevisionAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<WorkflowDTO> getAbortedWorkflowListInPart(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<WorkflowDTO>> getAbortedWorkflowListInPartWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAbortedWorkflowListInPartAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<List<WorkflowDTO>> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- 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 updatePartRevisionACL(String workspaceId, String partNumber, String partVersion, ACLDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updatePartRevisionACLWithHttpInfo(String workspaceId, String partNumber, String partVersion, ACLDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updatePartRevisionACLAsync(String workspaceId, String partNumber, String partVersion, ACLDTO body, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- ACL rules to setcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<ProductBaselineDTO> getBaselinesWherePartRevisionHasIterations(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ProductBaselineDTO>> getBaselinesWherePartRevisionHasIterationsWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getBaselinesWherePartRevisionHasIterationsAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<List<ProductBaselineDTO>> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartRevisionDTO checkIn(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartRevisionDTO> checkInWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call checkInAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<PartRevisionDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartRevisionDTO checkOut(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartRevisionDTO> checkOutWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call checkOutAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<PartRevisionDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<LeafDTO> getInstancesUnderPart(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<LeafDTO>> getInstancesUnderPartWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getInstancesUnderPartAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<List<LeafDTO>> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartRevisionDTO updatePartIteration(String workspaceId, String partNumber, String partVersion, Integer partIteration, PartIterationDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationbody
- Part iteration to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartRevisionDTO> updatePartIterationWithHttpInfo(String workspaceId, String partNumber, String partVersion, Integer partIteration, PartIterationDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationbody
- Part iteration to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updatePartIterationAsync(String workspaceId, String partNumber, String partVersion, Integer partIteration, PartIterationDTO body, ApiCallback<PartRevisionDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationbody
- Part iteration to updatecallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ConversionDTO getConversionStatus(String workspaceId, String partNumber, String partVersion, Integer partIteration) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ConversionDTO> getConversionStatusWithHttpInfo(String workspaceId, String partNumber, String partVersion, Integer partIteration) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getConversionStatusAsync(String workspaceId, String partNumber, String partVersion, Integer partIteration, ApiCallback<ConversionDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationcallback
- 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 retryConversion(String workspaceId, String partNumber, String partVersion, Integer partIteration) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> retryConversionWithHttpInfo(String workspaceId, String partNumber, String partVersion, Integer partIteration) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call retryConversionAsync(String workspaceId, String partNumber, String partVersion, Integer partIteration, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationcallback
- 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 renameAttachedFileInPartIteration(String workspaceId, String partNumber, String partVersion, Integer partIteration, String subType, String fileName, FileDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationsubType
- Sub typefileName
- File namebody
- File to renameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> renameAttachedFileInPartIterationWithHttpInfo(String workspaceId, String partNumber, String partVersion, Integer partIteration, String subType, String fileName, FileDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationsubType
- Sub typefileName
- File namebody
- File to renameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call renameAttachedFileInPartIterationAsync(String workspaceId, String partNumber, String partVersion, Integer partIteration, String subType, String fileName, FileDTO body, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationsubType
- Sub typefileName
- File namebody
- File to renamecallback
- 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 removeFile(String workspaceId, String partNumber, String partVersion, Integer partIteration, String subType, String fileName) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationsubType
- Sub typefileName
- File nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> removeFileWithHttpInfo(String workspaceId, String partNumber, String partVersion, Integer partIteration, String subType, String fileName) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationsubType
- Sub typefileName
- File nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeFileAsync(String workspaceId, String partNumber, String partVersion, Integer partIteration, String subType, String fileName, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionpartIteration
- Part iterationsubType
- Sub typefileName
- File namecallback
- 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 createNewPartVersion(String workspaceId, String partNumber, String partVersion, PartCreationDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- New version of part to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> createNewPartVersionWithHttpInfo(String workspaceId, String partNumber, String partVersion, PartCreationDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- New version of part to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createNewPartVersionAsync(String workspaceId, String partNumber, String partVersion, PartCreationDTO body, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- New version of part to createcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartRevisionDTO markPartRevisionAsObsolete(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartRevisionDTO> markPartRevisionAsObsoleteWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call markPartRevisionAsObsoleteAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<PartRevisionDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- 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 publishPartRevision(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> publishPartRevisionWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call publishPartRevisionAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartRevisionDTO releasePartRevision(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartRevisionDTO> releasePartRevisionWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call releasePartRevisionAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<PartRevisionDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic SharedPartDTO createSharedPart(String workspaceId, String partNumber, String partVersion, SharedPartDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- Shared part to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SharedPartDTO> createSharedPartWithHttpInfo(String workspaceId, String partNumber, String partVersion, SharedPartDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- Shared part to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createSharedPartAsync(String workspaceId, String partNumber, String partVersion, SharedPartDTO body, ApiCallback<SharedPartDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- Shared part to createcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartRevisionDTO savePartTags(String workspaceId, String partNumber, String partVersion, TagListDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartRevisionDTO> savePartTagsWithHttpInfo(String workspaceId, String partNumber, String partVersion, TagListDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call savePartTagsAsync(String workspaceId, String partNumber, String partVersion, TagListDTO body, ApiCallback<PartRevisionDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- Tag list to addcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartRevisionDTO addPartTag(String workspaceId, String partNumber, String partVersion, TagListDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartRevisionDTO> addPartTagWithHttpInfo(String workspaceId, String partNumber, String partVersion, TagListDTO body) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addPartTagAsync(String workspaceId, String partNumber, String partVersion, TagListDTO body, ApiCallback<PartRevisionDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionbody
- Tag list to addcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartRevisionDTO removePartTags(String workspaceId, String partNumber, String partVersion, String tagName) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versiontagName
- Tag nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartRevisionDTO> removePartTagsWithHttpInfo(String workspaceId, String partNumber, String partVersion, String tagName) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versiontagName
- Tag nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removePartTagsAsync(String workspaceId, String partNumber, String partVersion, String tagName, ApiCallback<PartRevisionDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versiontagName
- Tag namecallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartRevisionDTO undoCheckOut(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartRevisionDTO> undoCheckOutWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call undoCheckOutAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<PartRevisionDTO> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- 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 unPublishPartRevision(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> unPublishPartRevisionWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call unPublishPartRevisionAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<PartRevisionDTO> getUsedByAsComponent(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<PartRevisionDTO>> getUsedByAsComponentWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getUsedByAsComponentAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<List<PartRevisionDTO>> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<PartRevisionDTO> getUsedByAsSubstitute(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<PartRevisionDTO>> getUsedByAsSubstituteWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getUsedByAsSubstituteAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<List<PartRevisionDTO>> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<ProductInstanceMasterDTO> getProductInstanceMasters(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ProductInstanceMasterDTO>> getProductInstanceMastersWithHttpInfo(String workspaceId, String partNumber, String partVersion) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versionApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getProductInstanceMastersAsync(String workspaceId, String partNumber, String partVersion, ApiCallback<List<ProductInstanceMasterDTO>> callback) throws ApiException
workspaceId
- Workspace idpartNumber
- Part numberpartVersion
- Part versioncallback
- 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.