public class DocumentBaselineApi extends Object
Constructor and Description |
---|
DocumentBaselineApi() |
DocumentBaselineApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
DocumentBaselineDTO |
createDocumentBaseline(String workspaceId,
DocumentBaselineDTO body)
Create a new document baseline
|
com.squareup.okhttp.Call |
createDocumentBaselineAsync(String workspaceId,
DocumentBaselineDTO body,
ApiCallback<DocumentBaselineDTO> callback)
Create a new document baseline (asynchronously)
|
ApiResponse<DocumentBaselineDTO> |
createDocumentBaselineWithHttpInfo(String workspaceId,
DocumentBaselineDTO body)
Create a new document baseline
|
void |
deleteBaseline(String workspaceId,
Integer baselineId)
Delete a document baseline
|
com.squareup.okhttp.Call |
deleteBaselineAsync(String workspaceId,
Integer baselineId,
ApiCallback<Void> callback)
Delete a document baseline (asynchronously)
|
ApiResponse<Void> |
deleteBaselineWithHttpInfo(String workspaceId,
Integer baselineId)
Delete a document baseline
|
File |
exportDocumentFiles(String workspaceId,
Integer baselineId)
Export document baseline's files
|
com.squareup.okhttp.Call |
exportDocumentFilesAsync(String workspaceId,
Integer baselineId,
ApiCallback<File> callback)
Export document baseline's files (asynchronously)
|
ApiResponse<File> |
exportDocumentFilesWithHttpInfo(String workspaceId,
Integer baselineId)
Export document baseline's files
|
ApiClient |
getApiClient() |
DocumentBaselineDTO |
getBaseline(String workspaceId,
Integer baselineId)
Get document baseline by id
|
com.squareup.okhttp.Call |
getBaselineAsync(String workspaceId,
Integer baselineId,
ApiCallback<DocumentBaselineDTO> callback)
Get document baseline by id (asynchronously)
|
DocumentBaselineDTO |
getBaselineLight(String workspaceId,
Integer baselineId)
Get document baseline in a light format
|
com.squareup.okhttp.Call |
getBaselineLightAsync(String workspaceId,
Integer baselineId,
ApiCallback<DocumentBaselineDTO> callback)
Get document baseline in a light format (asynchronously)
|
ApiResponse<DocumentBaselineDTO> |
getBaselineLightWithHttpInfo(String workspaceId,
Integer baselineId)
Get document baseline in a light format
|
ApiResponse<DocumentBaselineDTO> |
getBaselineWithHttpInfo(String workspaceId,
Integer baselineId)
Get document baseline by id
|
List<DocumentBaselineDTO> |
getDocumentBaselines(String workspaceId)
Get document baselines
|
com.squareup.okhttp.Call |
getDocumentBaselinesAsync(String workspaceId,
ApiCallback<List<DocumentBaselineDTO>> callback)
Get document baselines (asynchronously)
|
ApiResponse<List<DocumentBaselineDTO>> |
getDocumentBaselinesWithHttpInfo(String workspaceId)
Get document baselines
|
void |
setApiClient(ApiClient apiClient) |
public DocumentBaselineApi()
public DocumentBaselineApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<DocumentBaselineDTO> getDocumentBaselines(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<DocumentBaselineDTO>> getDocumentBaselinesWithHttpInfo(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 getDocumentBaselinesAsync(String workspaceId, ApiCallback<List<DocumentBaselineDTO>> 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 DocumentBaselineDTO createDocumentBaseline(String workspaceId, DocumentBaselineDTO body) throws ApiException
workspaceId
- Workspace idbody
- Document baseline to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentBaselineDTO> createDocumentBaselineWithHttpInfo(String workspaceId, DocumentBaselineDTO body) throws ApiException
workspaceId
- Workspace idbody
- Document baseline to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createDocumentBaselineAsync(String workspaceId, DocumentBaselineDTO body, ApiCallback<DocumentBaselineDTO> callback) throws ApiException
workspaceId
- Workspace idbody
- Document baseline 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 DocumentBaselineDTO getBaseline(String workspaceId, Integer baselineId) throws ApiException
workspaceId
- Workspace idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentBaselineDTO> getBaselineWithHttpInfo(String workspaceId, Integer baselineId) throws ApiException
workspaceId
- Workspace idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getBaselineAsync(String workspaceId, Integer baselineId, ApiCallback<DocumentBaselineDTO> callback) throws ApiException
workspaceId
- Workspace idbaselineId
- Baseline 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 deleteBaseline(String workspaceId, Integer baselineId) throws ApiException
workspaceId
- Workspace idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteBaselineWithHttpInfo(String workspaceId, Integer baselineId) throws ApiException
workspaceId
- Workspace idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteBaselineAsync(String workspaceId, Integer baselineId, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idbaselineId
- Baseline 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 DocumentBaselineDTO getBaselineLight(String workspaceId, Integer baselineId) throws ApiException
workspaceId
- Workspace idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DocumentBaselineDTO> getBaselineLightWithHttpInfo(String workspaceId, Integer baselineId) throws ApiException
workspaceId
- Workspace idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getBaselineLightAsync(String workspaceId, Integer baselineId, ApiCallback<DocumentBaselineDTO> callback) throws ApiException
workspaceId
- Workspace idbaselineId
- Baseline 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 File exportDocumentFiles(String workspaceId, Integer baselineId) throws ApiException
workspaceId
- Workspace idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> exportDocumentFilesWithHttpInfo(String workspaceId, Integer baselineId) throws ApiException
workspaceId
- Workspace idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call exportDocumentFilesAsync(String workspaceId, Integer baselineId, ApiCallback<File> callback) throws ApiException
workspaceId
- Workspace idbaselineId
- Baseline 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.