public class WorkspaceWorkflowsApi extends Object
Constructor and Description |
---|
WorkspaceWorkflowsApi() |
WorkspaceWorkflowsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
WorkspaceWorkflowDTO |
createWorkspaceWorkflow(String workspaceId,
WorkspaceWorkflowCreationDTO body)
Instantiate a workspace workflow from given workflow model
|
com.squareup.okhttp.Call |
createWorkspaceWorkflowAsync(String workspaceId,
WorkspaceWorkflowCreationDTO body,
ApiCallback<WorkspaceWorkflowDTO> callback)
Instantiate a workspace workflow from given workflow model (asynchronously)
|
ApiResponse<WorkspaceWorkflowDTO> |
createWorkspaceWorkflowWithHttpInfo(String workspaceId,
WorkspaceWorkflowCreationDTO body)
Instantiate a workspace workflow from given workflow model
|
void |
deleteWorkspaceWorkflow(String workspaceId,
String workspaceWorkflowId)
Delete a workspace workflow
|
com.squareup.okhttp.Call |
deleteWorkspaceWorkflowAsync(String workspaceId,
String workspaceWorkflowId,
ApiCallback<Void> callback)
Delete a workspace workflow (asynchronously)
|
ApiResponse<Void> |
deleteWorkspaceWorkflowWithHttpInfo(String workspaceId,
String workspaceWorkflowId)
Delete a workspace workflow
|
ApiClient |
getApiClient() |
WorkspaceWorkflowDTO |
getWorkspaceWorkflow(String workspaceId,
String workspaceWorkflowId)
Get a workspace workflow by id
|
com.squareup.okhttp.Call |
getWorkspaceWorkflowAsync(String workspaceId,
String workspaceWorkflowId,
ApiCallback<WorkspaceWorkflowDTO> callback)
Get a workspace workflow by id (asynchronously)
|
List<WorkspaceWorkflowDTO> |
getWorkspaceWorkflowList(String workspaceId)
Get workspace workflow list in given workspace
|
com.squareup.okhttp.Call |
getWorkspaceWorkflowListAsync(String workspaceId,
ApiCallback<List<WorkspaceWorkflowDTO>> callback)
Get workspace workflow list in given workspace (asynchronously)
|
ApiResponse<List<WorkspaceWorkflowDTO>> |
getWorkspaceWorkflowListWithHttpInfo(String workspaceId)
Get workspace workflow list in given workspace
|
ApiResponse<WorkspaceWorkflowDTO> |
getWorkspaceWorkflowWithHttpInfo(String workspaceId,
String workspaceWorkflowId)
Get a workspace workflow by id
|
void |
setApiClient(ApiClient apiClient) |
public WorkspaceWorkflowsApi()
public WorkspaceWorkflowsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<WorkspaceWorkflowDTO> getWorkspaceWorkflowList(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<WorkspaceWorkflowDTO>> getWorkspaceWorkflowListWithHttpInfo(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 getWorkspaceWorkflowListAsync(String workspaceId, ApiCallback<List<WorkspaceWorkflowDTO>> 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 WorkspaceWorkflowDTO createWorkspaceWorkflow(String workspaceId, WorkspaceWorkflowCreationDTO body) throws ApiException
workspaceId
- Workspace idbody
- Workspace workflow to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<WorkspaceWorkflowDTO> createWorkspaceWorkflowWithHttpInfo(String workspaceId, WorkspaceWorkflowCreationDTO body) throws ApiException
workspaceId
- Workspace idbody
- Workspace workflow to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createWorkspaceWorkflowAsync(String workspaceId, WorkspaceWorkflowCreationDTO body, ApiCallback<WorkspaceWorkflowDTO> callback) throws ApiException
workspaceId
- Workspace idbody
- Workspace workflow 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 WorkspaceWorkflowDTO getWorkspaceWorkflow(String workspaceId, String workspaceWorkflowId) throws ApiException
workspaceId
- Workspace idworkspaceWorkflowId
- Workspace workflow idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<WorkspaceWorkflowDTO> getWorkspaceWorkflowWithHttpInfo(String workspaceId, String workspaceWorkflowId) throws ApiException
workspaceId
- Workspace idworkspaceWorkflowId
- Workspace workflow idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getWorkspaceWorkflowAsync(String workspaceId, String workspaceWorkflowId, ApiCallback<WorkspaceWorkflowDTO> callback) throws ApiException
workspaceId
- Workspace idworkspaceWorkflowId
- Workspace workflow 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 deleteWorkspaceWorkflow(String workspaceId, String workspaceWorkflowId) throws ApiException
workspaceId
- Workspace idworkspaceWorkflowId
- Workspace workflow idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteWorkspaceWorkflowWithHttpInfo(String workspaceId, String workspaceWorkflowId) throws ApiException
workspaceId
- Workspace idworkspaceWorkflowId
- Workspace workflow idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteWorkspaceWorkflowAsync(String workspaceId, String workspaceWorkflowId, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idworkspaceWorkflowId
- Workspace workflow 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.