public class IssuesApi extends Object
Constructor and Description |
---|
IssuesApi() |
IssuesApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ChangeIssueDTO |
addTagToChangeIssue(String workspaceId,
Integer issueId,
TagListDTO body)
Attached a new tag to a change issue
|
com.squareup.okhttp.Call |
addTagToChangeIssueAsync(String workspaceId,
Integer issueId,
TagListDTO body,
ApiCallback<ChangeIssueDTO> callback)
Attached a new tag to a change issue (asynchronously)
|
ApiResponse<ChangeIssueDTO> |
addTagToChangeIssueWithHttpInfo(String workspaceId,
Integer issueId,
TagListDTO body)
Attached a new tag to a change issue
|
ChangeIssueDTO |
createIssue(String workspaceId,
ChangeIssueDTO body)
Create a new change issue
|
com.squareup.okhttp.Call |
createIssueAsync(String workspaceId,
ChangeIssueDTO body,
ApiCallback<ChangeIssueDTO> callback)
Create a new change issue (asynchronously)
|
ApiResponse<ChangeIssueDTO> |
createIssueWithHttpInfo(String workspaceId,
ChangeIssueDTO body)
Create a new change issue
|
ApiClient |
getApiClient() |
ChangeIssueDTO |
getIssue(String workspaceId,
Integer issueId)
Get change issue with given id
|
com.squareup.okhttp.Call |
getIssueAsync(String workspaceId,
Integer issueId,
ApiCallback<ChangeIssueDTO> callback)
Get change issue with given id (asynchronously)
|
List<ChangeIssueDTO> |
getIssues(String workspaceId)
Get change issues for given parameters
|
com.squareup.okhttp.Call |
getIssuesAsync(String workspaceId,
ApiCallback<List<ChangeIssueDTO>> callback)
Get change issues for given parameters (asynchronously)
|
ApiResponse<List<ChangeIssueDTO>> |
getIssuesWithHttpInfo(String workspaceId)
Get change issues for given parameters
|
ApiResponse<ChangeIssueDTO> |
getIssueWithHttpInfo(String workspaceId,
Integer issueId)
Get change issue with given id
|
ChangeIssueDTO |
removeIssue(String workspaceId,
Integer issueId)
Delete change issue
|
com.squareup.okhttp.Call |
removeIssueAsync(String workspaceId,
Integer issueId,
ApiCallback<ChangeIssueDTO> callback)
Delete change issue (asynchronously)
|
ApiResponse<ChangeIssueDTO> |
removeIssueWithHttpInfo(String workspaceId,
Integer issueId)
Delete change issue
|
ChangeIssueDTO |
removeTagsFromChangeIssue(String workspaceId,
Integer issueId,
String tagName)
Delete a tag attached to a change issue
|
com.squareup.okhttp.Call |
removeTagsFromChangeIssueAsync(String workspaceId,
Integer issueId,
String tagName,
ApiCallback<ChangeIssueDTO> callback)
Delete a tag attached to a change issue (asynchronously)
|
ApiResponse<ChangeIssueDTO> |
removeTagsFromChangeIssueWithHttpInfo(String workspaceId,
Integer issueId,
String tagName)
Delete a tag attached to a change issue
|
ChangeIssueDTO |
saveChangeIssueAffectedDocuments(String workspaceId,
Integer issueId,
DocumentIterationListDTO body)
Attach a document to a change issue
|
com.squareup.okhttp.Call |
saveChangeIssueAffectedDocumentsAsync(String workspaceId,
Integer issueId,
DocumentIterationListDTO body,
ApiCallback<ChangeIssueDTO> callback)
Attach a document to a change issue (asynchronously)
|
ApiResponse<ChangeIssueDTO> |
saveChangeIssueAffectedDocumentsWithHttpInfo(String workspaceId,
Integer issueId,
DocumentIterationListDTO body)
Attach a document to a change issue
|
ChangeIssueDTO |
saveChangeIssueAffectedParts(String workspaceId,
Integer issueId,
PartIterationListDTO body)
Attach a part to a change issue
|
com.squareup.okhttp.Call |
saveChangeIssueAffectedPartsAsync(String workspaceId,
Integer issueId,
PartIterationListDTO body,
ApiCallback<ChangeIssueDTO> callback)
Attach a part to a change issue (asynchronously)
|
ApiResponse<ChangeIssueDTO> |
saveChangeIssueAffectedPartsWithHttpInfo(String workspaceId,
Integer issueId,
PartIterationListDTO body)
Attach a part to a change issue
|
ChangeIssueDTO |
saveChangeItemTags(String workspaceId,
Integer issueId,
TagListDTO body)
Update tags attached to a change issue
|
com.squareup.okhttp.Call |
saveChangeItemTagsAsync(String workspaceId,
Integer issueId,
TagListDTO body,
ApiCallback<ChangeIssueDTO> callback)
Update tags attached to a change issue (asynchronously)
|
ApiResponse<ChangeIssueDTO> |
saveChangeItemTagsWithHttpInfo(String workspaceId,
Integer issueId,
TagListDTO body)
Update tags attached to a change issue
|
List<ChangeIssueDTO> |
searchIssuesByName(String workspaceId,
String q)
Search change issue with given name
|
com.squareup.okhttp.Call |
searchIssuesByNameAsync(String workspaceId,
String q,
ApiCallback<List<ChangeIssueDTO>> callback)
Search change issue with given name (asynchronously)
|
ApiResponse<List<ChangeIssueDTO>> |
searchIssuesByNameWithHttpInfo(String workspaceId,
String q)
Search change issue with given name
|
void |
setApiClient(ApiClient apiClient) |
ChangeIssueDTO |
updateChangeIssueACL(String workspaceId,
Integer issueId,
ACLDTO body)
Update ACL of a change issue
|
com.squareup.okhttp.Call |
updateChangeIssueACLAsync(String workspaceId,
Integer issueId,
ACLDTO body,
ApiCallback<ChangeIssueDTO> callback)
Update ACL of a change issue (asynchronously)
|
ApiResponse<ChangeIssueDTO> |
updateChangeIssueACLWithHttpInfo(String workspaceId,
Integer issueId,
ACLDTO body)
Update ACL of a change issue
|
ChangeIssueDTO |
updateIssue(String workspaceId,
Integer issueId,
ChangeIssueDTO body)
Update change issue
|
com.squareup.okhttp.Call |
updateIssueAsync(String workspaceId,
Integer issueId,
ChangeIssueDTO body,
ApiCallback<ChangeIssueDTO> callback)
Update change issue (asynchronously)
|
ApiResponse<ChangeIssueDTO> |
updateIssueWithHttpInfo(String workspaceId,
Integer issueId,
ChangeIssueDTO body)
Update change issue
|
public IssuesApi()
public IssuesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<ChangeIssueDTO> getIssues(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<ChangeIssueDTO>> getIssuesWithHttpInfo(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 getIssuesAsync(String workspaceId, ApiCallback<List<ChangeIssueDTO>> 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 ChangeIssueDTO createIssue(String workspaceId, ChangeIssueDTO body) throws ApiException
workspaceId
- Workspace idbody
- Change issue to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeIssueDTO> createIssueWithHttpInfo(String workspaceId, ChangeIssueDTO body) throws ApiException
workspaceId
- Workspace idbody
- Change issue to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createIssueAsync(String workspaceId, ChangeIssueDTO body, ApiCallback<ChangeIssueDTO> callback) throws ApiException
workspaceId
- Workspace idbody
- Change issue 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 List<ChangeIssueDTO> searchIssuesByName(String workspaceId, String q) throws ApiException
workspaceId
- Workspace idq
- QueryApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ChangeIssueDTO>> searchIssuesByNameWithHttpInfo(String workspaceId, String q) throws ApiException
workspaceId
- Workspace idq
- QueryApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call searchIssuesByNameAsync(String workspaceId, String q, ApiCallback<List<ChangeIssueDTO>> callback) throws ApiException
workspaceId
- Workspace idq
- Querycallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeIssueDTO getIssue(String workspaceId, Integer issueId) throws ApiException
workspaceId
- Workspace idissueId
- Issue idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeIssueDTO> getIssueWithHttpInfo(String workspaceId, Integer issueId) throws ApiException
workspaceId
- Workspace idissueId
- Issue idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getIssueAsync(String workspaceId, Integer issueId, ApiCallback<ChangeIssueDTO> callback) throws ApiException
workspaceId
- Workspace idissueId
- Issue 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 ChangeIssueDTO updateIssue(String workspaceId, Integer issueId, ChangeIssueDTO body) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Change issue to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeIssueDTO> updateIssueWithHttpInfo(String workspaceId, Integer issueId, ChangeIssueDTO body) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Change issue to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateIssueAsync(String workspaceId, Integer issueId, ChangeIssueDTO body, ApiCallback<ChangeIssueDTO> callback) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Change issue 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 ChangeIssueDTO removeIssue(String workspaceId, Integer issueId) throws ApiException
workspaceId
- Workspace idissueId
- Issue idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeIssueDTO> removeIssueWithHttpInfo(String workspaceId, Integer issueId) throws ApiException
workspaceId
- Workspace idissueId
- Issue idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeIssueAsync(String workspaceId, Integer issueId, ApiCallback<ChangeIssueDTO> callback) throws ApiException
workspaceId
- Workspace idissueId
- Issue 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 ChangeIssueDTO updateChangeIssueACL(String workspaceId, Integer issueId, ACLDTO body) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeIssueDTO> updateChangeIssueACLWithHttpInfo(String workspaceId, Integer issueId, ACLDTO body) throws ApiException
workspaceId
- Workspace idissueId
- Issue 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 updateChangeIssueACLAsync(String workspaceId, Integer issueId, ACLDTO body, ApiCallback<ChangeIssueDTO> callback) throws ApiException
workspaceId
- Workspace idissueId
- Issue 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 ChangeIssueDTO saveChangeIssueAffectedDocuments(String workspaceId, Integer issueId, DocumentIterationListDTO body) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Document list to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeIssueDTO> saveChangeIssueAffectedDocumentsWithHttpInfo(String workspaceId, Integer issueId, DocumentIterationListDTO body) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Document list to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call saveChangeIssueAffectedDocumentsAsync(String workspaceId, Integer issueId, DocumentIterationListDTO body, ApiCallback<ChangeIssueDTO> callback) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Document list to save as affectedcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeIssueDTO saveChangeIssueAffectedParts(String workspaceId, Integer issueId, PartIterationListDTO body) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Part list to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeIssueDTO> saveChangeIssueAffectedPartsWithHttpInfo(String workspaceId, Integer issueId, PartIterationListDTO body) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Part list to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call saveChangeIssueAffectedPartsAsync(String workspaceId, Integer issueId, PartIterationListDTO body, ApiCallback<ChangeIssueDTO> callback) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Part list to save as affectedcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ChangeIssueDTO saveChangeItemTags(String workspaceId, Integer issueId, TagListDTO body) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeIssueDTO> saveChangeItemTagsWithHttpInfo(String workspaceId, Integer issueId, TagListDTO body) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call saveChangeItemTagsAsync(String workspaceId, Integer issueId, TagListDTO body, ApiCallback<ChangeIssueDTO> callback) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- 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 ChangeIssueDTO addTagToChangeIssue(String workspaceId, Integer issueId, TagListDTO body) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeIssueDTO> addTagToChangeIssueWithHttpInfo(String workspaceId, Integer issueId, TagListDTO body) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addTagToChangeIssueAsync(String workspaceId, Integer issueId, TagListDTO body, ApiCallback<ChangeIssueDTO> callback) throws ApiException
workspaceId
- Workspace idissueId
- Issue idbody
- 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 ChangeIssueDTO removeTagsFromChangeIssue(String workspaceId, Integer issueId, String tagName) throws ApiException
workspaceId
- Workspace idissueId
- Issue idtagName
- Tag nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeIssueDTO> removeTagsFromChangeIssueWithHttpInfo(String workspaceId, Integer issueId, String tagName) throws ApiException
workspaceId
- Workspace idissueId
- Issue idtagName
- Tag nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeTagsFromChangeIssueAsync(String workspaceId, Integer issueId, String tagName, ApiCallback<ChangeIssueDTO> callback) throws ApiException
workspaceId
- Workspace idissueId
- Issue idtagName
- 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 objectCopyright © 2019 DocDoku. All rights reserved.