public class RequestsApi extends Object
Constructor and Description |
---|
RequestsApi() |
RequestsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ChangeRequestDTO |
addTagsToChangeRequest(String workspaceId,
Integer requestId,
TagListDTO body)
Attach a new tag to a change request
|
com.squareup.okhttp.Call |
addTagsToChangeRequestAsync(String workspaceId,
Integer requestId,
TagListDTO body,
ApiCallback<ChangeRequestDTO> callback)
Attach a new tag to a change request (asynchronously)
|
ApiResponse<ChangeRequestDTO> |
addTagsToChangeRequestWithHttpInfo(String workspaceId,
Integer requestId,
TagListDTO body)
Attach a new tag to a change request
|
ChangeRequestDTO |
createRequest(String workspaceId,
ChangeRequestDTO body)
Create request
|
com.squareup.okhttp.Call |
createRequestAsync(String workspaceId,
ChangeRequestDTO body,
ApiCallback<ChangeRequestDTO> callback)
Create request (asynchronously)
|
ApiResponse<ChangeRequestDTO> |
createRequestWithHttpInfo(String workspaceId,
ChangeRequestDTO body)
Create request
|
ApiClient |
getApiClient() |
ChangeRequestDTO |
getRequest(String workspaceId,
Integer requestId)
Get change request by id
|
com.squareup.okhttp.Call |
getRequestAsync(String workspaceId,
Integer requestId,
ApiCallback<ChangeRequestDTO> callback)
Get change request by id (asynchronously)
|
List<ChangeRequestDTO> |
getRequests(String workspaceId)
Get requests for given parameters
|
com.squareup.okhttp.Call |
getRequestsAsync(String workspaceId,
ApiCallback<List<ChangeRequestDTO>> callback)
Get requests for given parameters (asynchronously)
|
ApiResponse<List<ChangeRequestDTO>> |
getRequestsWithHttpInfo(String workspaceId)
Get requests for given parameters
|
ApiResponse<ChangeRequestDTO> |
getRequestWithHttpInfo(String workspaceId,
Integer requestId)
Get change request by id
|
ChangeRequestDTO |
removeRequest(String workspaceId,
Integer requestId)
Delete change request
|
com.squareup.okhttp.Call |
removeRequestAsync(String workspaceId,
Integer requestId,
ApiCallback<ChangeRequestDTO> callback)
Delete change request (asynchronously)
|
ApiResponse<ChangeRequestDTO> |
removeRequestWithHttpInfo(String workspaceId,
Integer requestId)
Delete change request
|
ChangeRequestDTO |
removeTagFromChangeRequest(String workspaceId,
Integer requestId,
String tagName)
Delete tag attached to a change request
|
com.squareup.okhttp.Call |
removeTagFromChangeRequestAsync(String workspaceId,
Integer requestId,
String tagName,
ApiCallback<ChangeRequestDTO> callback)
Delete tag attached to a change request (asynchronously)
|
ApiResponse<ChangeRequestDTO> |
removeTagFromChangeRequestWithHttpInfo(String workspaceId,
Integer requestId,
String tagName)
Delete tag attached to a change request
|
ChangeRequestDTO |
saveAffectedIssues(String workspaceId,
Integer requestId,
ChangeIssueListDTO body)
Attach issue to a change request
|
com.squareup.okhttp.Call |
saveAffectedIssuesAsync(String workspaceId,
Integer requestId,
ChangeIssueListDTO body,
ApiCallback<ChangeRequestDTO> callback)
Attach issue to a change request (asynchronously)
|
ApiResponse<ChangeRequestDTO> |
saveAffectedIssuesWithHttpInfo(String workspaceId,
Integer requestId,
ChangeIssueListDTO body)
Attach issue to a change request
|
ChangeRequestDTO |
saveChangeRequestAffectedDocuments(String workspaceId,
Integer requestId,
DocumentIterationListDTO body)
Attach document to a change request
|
com.squareup.okhttp.Call |
saveChangeRequestAffectedDocumentsAsync(String workspaceId,
Integer requestId,
DocumentIterationListDTO body,
ApiCallback<ChangeRequestDTO> callback)
Attach document to a change request (asynchronously)
|
ApiResponse<ChangeRequestDTO> |
saveChangeRequestAffectedDocumentsWithHttpInfo(String workspaceId,
Integer requestId,
DocumentIterationListDTO body)
Attach document to a change request
|
ChangeRequestDTO |
saveChangeRequestAffectedParts(String workspaceId,
Integer requestId,
PartIterationListDTO body)
Attach part to a change request
|
com.squareup.okhttp.Call |
saveChangeRequestAffectedPartsAsync(String workspaceId,
Integer requestId,
PartIterationListDTO body,
ApiCallback<ChangeRequestDTO> callback)
Attach part to a change request (asynchronously)
|
ApiResponse<ChangeRequestDTO> |
saveChangeRequestAffectedPartsWithHttpInfo(String workspaceId,
Integer requestId,
PartIterationListDTO body)
Attach part to a change request
|
ChangeRequestDTO |
saveChangeRequestTags(String workspaceId,
Integer requestId,
TagListDTO body)
Update tag attached to a change request
|
com.squareup.okhttp.Call |
saveChangeRequestTagsAsync(String workspaceId,
Integer requestId,
TagListDTO body,
ApiCallback<ChangeRequestDTO> callback)
Update tag attached to a change request (asynchronously)
|
ApiResponse<ChangeRequestDTO> |
saveChangeRequestTagsWithHttpInfo(String workspaceId,
Integer requestId,
TagListDTO body)
Update tag attached to a change request
|
List<ChangeRequestDTO> |
searchRequestsByName(String workspaceId,
String q)
Search request with given name
|
com.squareup.okhttp.Call |
searchRequestsByNameAsync(String workspaceId,
String q,
ApiCallback<List<ChangeRequestDTO>> callback)
Search request with given name (asynchronously)
|
ApiResponse<List<ChangeRequestDTO>> |
searchRequestsByNameWithHttpInfo(String workspaceId,
String q)
Search request with given name
|
void |
setApiClient(ApiClient apiClient) |
ChangeRequestDTO |
updateChangeRequestACL(String workspaceId,
Integer requestId,
ACLDTO body)
Update ACL of a change request
|
com.squareup.okhttp.Call |
updateChangeRequestACLAsync(String workspaceId,
Integer requestId,
ACLDTO body,
ApiCallback<ChangeRequestDTO> callback)
Update ACL of a change request (asynchronously)
|
ApiResponse<ChangeRequestDTO> |
updateChangeRequestACLWithHttpInfo(String workspaceId,
Integer requestId,
ACLDTO body)
Update ACL of a change request
|
ChangeRequestDTO |
updateRequest(String workspaceId,
Integer requestId,
ChangeRequestDTO body)
Update change request
|
com.squareup.okhttp.Call |
updateRequestAsync(String workspaceId,
Integer requestId,
ChangeRequestDTO body,
ApiCallback<ChangeRequestDTO> callback)
Update change request (asynchronously)
|
ApiResponse<ChangeRequestDTO> |
updateRequestWithHttpInfo(String workspaceId,
Integer requestId,
ChangeRequestDTO body)
Update change request
|
public RequestsApi()
public RequestsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<ChangeRequestDTO> getRequests(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<ChangeRequestDTO>> getRequestsWithHttpInfo(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 getRequestsAsync(String workspaceId, ApiCallback<List<ChangeRequestDTO>> 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 ChangeRequestDTO createRequest(String workspaceId, ChangeRequestDTO body) throws ApiException
workspaceId
- Workspace idbody
- Change request to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeRequestDTO> createRequestWithHttpInfo(String workspaceId, ChangeRequestDTO body) throws ApiException
workspaceId
- Workspace idbody
- Change request to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createRequestAsync(String workspaceId, ChangeRequestDTO body, ApiCallback<ChangeRequestDTO> callback) throws ApiException
workspaceId
- Workspace idbody
- Change request 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<ChangeRequestDTO> searchRequestsByName(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<ChangeRequestDTO>> searchRequestsByNameWithHttpInfo(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 searchRequestsByNameAsync(String workspaceId, String q, ApiCallback<List<ChangeRequestDTO>> 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 ChangeRequestDTO getRequest(String workspaceId, Integer requestId) throws ApiException
workspaceId
- Workspace idrequestId
- Request idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeRequestDTO> getRequestWithHttpInfo(String workspaceId, Integer requestId) throws ApiException
workspaceId
- Workspace idrequestId
- Request idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getRequestAsync(String workspaceId, Integer requestId, ApiCallback<ChangeRequestDTO> callback) throws ApiException
workspaceId
- Workspace idrequestId
- Request 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 ChangeRequestDTO updateRequest(String workspaceId, Integer requestId, ChangeRequestDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- Request to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeRequestDTO> updateRequestWithHttpInfo(String workspaceId, Integer requestId, ChangeRequestDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- Request to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateRequestAsync(String workspaceId, Integer requestId, ChangeRequestDTO body, ApiCallback<ChangeRequestDTO> callback) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- Request 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 ChangeRequestDTO removeRequest(String workspaceId, Integer requestId) throws ApiException
workspaceId
- requestId
- ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeRequestDTO> removeRequestWithHttpInfo(String workspaceId, Integer requestId) throws ApiException
workspaceId
- requestId
- ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeRequestAsync(String workspaceId, Integer requestId, ApiCallback<ChangeRequestDTO> callback) throws ApiException
workspaceId
- requestId
- 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 ChangeRequestDTO updateChangeRequestACL(String workspaceId, Integer requestId, ACLDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeRequestDTO> updateChangeRequestACLWithHttpInfo(String workspaceId, Integer requestId, ACLDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request 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 updateChangeRequestACLAsync(String workspaceId, Integer requestId, ACLDTO body, ApiCallback<ChangeRequestDTO> callback) throws ApiException
workspaceId
- Workspace idrequestId
- Request 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 ChangeRequestDTO saveChangeRequestAffectedDocuments(String workspaceId, Integer requestId, DocumentIterationListDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- Document list to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeRequestDTO> saveChangeRequestAffectedDocumentsWithHttpInfo(String workspaceId, Integer requestId, DocumentIterationListDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request 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 saveChangeRequestAffectedDocumentsAsync(String workspaceId, Integer requestId, DocumentIterationListDTO body, ApiCallback<ChangeRequestDTO> callback) throws ApiException
workspaceId
- Workspace idrequestId
- Request 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 ChangeRequestDTO saveAffectedIssues(String workspaceId, Integer requestId, ChangeIssueListDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- Change issues to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeRequestDTO> saveAffectedIssuesWithHttpInfo(String workspaceId, Integer requestId, ChangeIssueListDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- Change issues to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call saveAffectedIssuesAsync(String workspaceId, Integer requestId, ChangeIssueListDTO body, ApiCallback<ChangeRequestDTO> callback) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- Change issues 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 ChangeRequestDTO saveChangeRequestAffectedParts(String workspaceId, Integer requestId, PartIterationListDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- Parts to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeRequestDTO> saveChangeRequestAffectedPartsWithHttpInfo(String workspaceId, Integer requestId, PartIterationListDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- Parts to save as affectedApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call saveChangeRequestAffectedPartsAsync(String workspaceId, Integer requestId, PartIterationListDTO body, ApiCallback<ChangeRequestDTO> callback) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- Parts 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 ChangeRequestDTO saveChangeRequestTags(String workspaceId, Integer requestId, TagListDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeRequestDTO> saveChangeRequestTagsWithHttpInfo(String workspaceId, Integer requestId, TagListDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request 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 saveChangeRequestTagsAsync(String workspaceId, Integer requestId, TagListDTO body, ApiCallback<ChangeRequestDTO> callback) throws ApiException
workspaceId
- Workspace idrequestId
- Request 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 ChangeRequestDTO addTagsToChangeRequest(String workspaceId, Integer requestId, TagListDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request idbody
- Tag list to addApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeRequestDTO> addTagsToChangeRequestWithHttpInfo(String workspaceId, Integer requestId, TagListDTO body) throws ApiException
workspaceId
- Workspace idrequestId
- Request 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 addTagsToChangeRequestAsync(String workspaceId, Integer requestId, TagListDTO body, ApiCallback<ChangeRequestDTO> callback) throws ApiException
workspaceId
- Workspace idrequestId
- Request 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 ChangeRequestDTO removeTagFromChangeRequest(String workspaceId, Integer requestId, String tagName) throws ApiException
workspaceId
- Workspace idrequestId
- Request idtagName
- Tag to removeApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ChangeRequestDTO> removeTagFromChangeRequestWithHttpInfo(String workspaceId, Integer requestId, String tagName) throws ApiException
workspaceId
- Workspace idrequestId
- Request idtagName
- Tag to removeApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeTagFromChangeRequestAsync(String workspaceId, Integer requestId, String tagName, ApiCallback<ChangeRequestDTO> callback) throws ApiException
workspaceId
- Workspace idrequestId
- Request idtagName
- Tag to removecallback
- 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.