public class PartTemplatesApi extends Object
Constructor and Description |
---|
PartTemplatesApi() |
PartTemplatesApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
PartMasterTemplateDTO |
createPartMasterTemplate(String workspaceId,
PartTemplateCreationDTO body)
Crate a new part master template
|
com.squareup.okhttp.Call |
createPartMasterTemplateAsync(String workspaceId,
PartTemplateCreationDTO body,
ApiCallback<PartMasterTemplateDTO> callback)
Crate a new part master template (asynchronously)
|
ApiResponse<PartMasterTemplateDTO> |
createPartMasterTemplateWithHttpInfo(String workspaceId,
PartTemplateCreationDTO body)
Crate a new part master template
|
void |
deletePartMasterTemplate(String workspaceId,
String templateId)
Delete part master template
|
com.squareup.okhttp.Call |
deletePartMasterTemplateAsync(String workspaceId,
String templateId,
ApiCallback<Void> callback)
Delete part master template (asynchronously)
|
ApiResponse<Void> |
deletePartMasterTemplateWithHttpInfo(String workspaceId,
String templateId)
Delete part master template
|
TemplateGeneratedIdDTO |
generatePartMasterTemplateId(String workspaceId,
String templateId)
Generate part master template id
|
com.squareup.okhttp.Call |
generatePartMasterTemplateIdAsync(String workspaceId,
String templateId,
ApiCallback<TemplateGeneratedIdDTO> callback)
Generate part master template id (asynchronously)
|
ApiResponse<TemplateGeneratedIdDTO> |
generatePartMasterTemplateIdWithHttpInfo(String workspaceId,
String templateId)
Generate part master template id
|
ApiClient |
getApiClient() |
PartMasterTemplateDTO |
getPartMasterTemplate(String workspaceId,
String templateId)
Get part master template
|
com.squareup.okhttp.Call |
getPartMasterTemplateAsync(String workspaceId,
String templateId,
ApiCallback<PartMasterTemplateDTO> callback)
Get part master template (asynchronously)
|
List<PartMasterTemplateDTO> |
getPartMasterTemplates(String workspaceId)
Get part master templates
|
com.squareup.okhttp.Call |
getPartMasterTemplatesAsync(String workspaceId,
ApiCallback<List<PartMasterTemplateDTO>> callback)
Get part master templates (asynchronously)
|
ApiResponse<List<PartMasterTemplateDTO>> |
getPartMasterTemplatesWithHttpInfo(String workspaceId)
Get part master templates
|
ApiResponse<PartMasterTemplateDTO> |
getPartMasterTemplateWithHttpInfo(String workspaceId,
String templateId)
Get part master template
|
void |
removeAttachedFileFromPartTemplate(String workspaceId,
String templateId,
String fileName)
Remove attached file from part master template
|
com.squareup.okhttp.Call |
removeAttachedFileFromPartTemplateAsync(String workspaceId,
String templateId,
String fileName,
ApiCallback<Void> callback)
Remove attached file from part master template (asynchronously)
|
ApiResponse<Void> |
removeAttachedFileFromPartTemplateWithHttpInfo(String workspaceId,
String templateId,
String fileName)
Remove attached file from part master template
|
FileDTO |
renameAttachedFileInPartTemplate(String workspaceId,
String templateId,
String fileName,
FileDTO body)
Rename attached file in part master template
|
com.squareup.okhttp.Call |
renameAttachedFileInPartTemplateAsync(String workspaceId,
String templateId,
String fileName,
FileDTO body,
ApiCallback<FileDTO> callback)
Rename attached file in part master template (asynchronously)
|
ApiResponse<FileDTO> |
renameAttachedFileInPartTemplateWithHttpInfo(String workspaceId,
String templateId,
String fileName,
FileDTO body)
Rename attached file in part master template
|
void |
setApiClient(ApiClient apiClient) |
PartMasterTemplateDTO |
updatePartMasterTemplate(String workspaceId,
String templateId,
PartMasterTemplateDTO body)
Update part master template
|
void |
updatePartMasterTemplateACL(String workspaceId,
String templateId,
ACLDTO body)
Update part master template ACL
|
com.squareup.okhttp.Call |
updatePartMasterTemplateACLAsync(String workspaceId,
String templateId,
ACLDTO body,
ApiCallback<Void> callback)
Update part master template ACL (asynchronously)
|
ApiResponse<Void> |
updatePartMasterTemplateACLWithHttpInfo(String workspaceId,
String templateId,
ACLDTO body)
Update part master template ACL
|
com.squareup.okhttp.Call |
updatePartMasterTemplateAsync(String workspaceId,
String templateId,
PartMasterTemplateDTO body,
ApiCallback<PartMasterTemplateDTO> callback)
Update part master template (asynchronously)
|
ApiResponse<PartMasterTemplateDTO> |
updatePartMasterTemplateWithHttpInfo(String workspaceId,
String templateId,
PartMasterTemplateDTO body)
Update part master template
|
public PartTemplatesApi()
public PartTemplatesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<PartMasterTemplateDTO> getPartMasterTemplates(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<PartMasterTemplateDTO>> getPartMasterTemplatesWithHttpInfo(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getPartMasterTemplatesAsync(String workspaceId, ApiCallback<List<PartMasterTemplateDTO>> callback) throws ApiException
workspaceId
- Workspace idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartMasterTemplateDTO createPartMasterTemplate(String workspaceId, PartTemplateCreationDTO body) throws ApiException
workspaceId
- Workspace idbody
- Part master template to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartMasterTemplateDTO> createPartMasterTemplateWithHttpInfo(String workspaceId, PartTemplateCreationDTO body) throws ApiException
workspaceId
- Workspace idbody
- Part master template to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createPartMasterTemplateAsync(String workspaceId, PartTemplateCreationDTO body, ApiCallback<PartMasterTemplateDTO> callback) throws ApiException
workspaceId
- Workspace idbody
- Part master template 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 PartMasterTemplateDTO getPartMasterTemplate(String workspaceId, String templateId) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartMasterTemplateDTO> getPartMasterTemplateWithHttpInfo(String workspaceId, String templateId) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getPartMasterTemplateAsync(String workspaceId, String templateId, ApiCallback<PartMasterTemplateDTO> callback) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic PartMasterTemplateDTO updatePartMasterTemplate(String workspaceId, String templateId, PartMasterTemplateDTO body) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idbody
- Part master template to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PartMasterTemplateDTO> updatePartMasterTemplateWithHttpInfo(String workspaceId, String templateId, PartMasterTemplateDTO body) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idbody
- Part master template to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updatePartMasterTemplateAsync(String workspaceId, String templateId, PartMasterTemplateDTO body, ApiCallback<PartMasterTemplateDTO> callback) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idbody
- Part master template 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 void deletePartMasterTemplate(String workspaceId, String templateId) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deletePartMasterTemplateWithHttpInfo(String workspaceId, String templateId) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deletePartMasterTemplateAsync(String workspaceId, String templateId, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idcallback
- 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 updatePartMasterTemplateACL(String workspaceId, String templateId, ACLDTO body) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updatePartMasterTemplateACLWithHttpInfo(String workspaceId, String templateId, ACLDTO body) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updatePartMasterTemplateACLAsync(String workspaceId, String templateId, ACLDTO body, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idbody
- 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 FileDTO renameAttachedFileInPartTemplate(String workspaceId, String templateId, String fileName, FileDTO body) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idfileName
- File namebody
- File to renameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FileDTO> renameAttachedFileInPartTemplateWithHttpInfo(String workspaceId, String templateId, String fileName, FileDTO body) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idfileName
- 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 renameAttachedFileInPartTemplateAsync(String workspaceId, String templateId, String fileName, FileDTO body, ApiCallback<FileDTO> callback) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idfileName
- 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 removeAttachedFileFromPartTemplate(String workspaceId, String templateId, String fileName) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idfileName
- File nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> removeAttachedFileFromPartTemplateWithHttpInfo(String workspaceId, String templateId, String fileName) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idfileName
- File nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeAttachedFileFromPartTemplateAsync(String workspaceId, String templateId, String fileName, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idfileName
- 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 TemplateGeneratedIdDTO generatePartMasterTemplateId(String workspaceId, String templateId) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TemplateGeneratedIdDTO> generatePartMasterTemplateIdWithHttpInfo(String workspaceId, String templateId) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call generatePartMasterTemplateIdAsync(String workspaceId, String templateId, ApiCallback<TemplateGeneratedIdDTO> callback) throws ApiException
workspaceId
- Workspace idtemplateId
- Template idcallback
- 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.