public class ProductBaselineApi extends Object
Constructor and Description |
---|
ProductBaselineApi() |
ProductBaselineApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ProductBaselineDTO |
createProductBaseline(String workspaceId,
ProductBaselineCreationDTO body,
Boolean dryRun)
Create a new product-baseline
|
com.squareup.okhttp.Call |
createProductBaselineAsync(String workspaceId,
ProductBaselineCreationDTO body,
Boolean dryRun,
ApiCallback<ProductBaselineDTO> callback)
Create a new product-baseline (asynchronously)
|
ApiResponse<ProductBaselineDTO> |
createProductBaselineWithHttpInfo(String workspaceId,
ProductBaselineCreationDTO body,
Boolean dryRun)
Create a new product-baseline
|
void |
deleteProductBaseline(String workspaceId,
String ciId,
Integer baselineId)
Delete product-baseline
|
com.squareup.okhttp.Call |
deleteProductBaselineAsync(String workspaceId,
String ciId,
Integer baselineId,
ApiCallback<Void> callback)
Delete product-baseline (asynchronously)
|
ApiResponse<Void> |
deleteProductBaselineWithHttpInfo(String workspaceId,
String ciId,
Integer baselineId)
Delete product-baseline
|
List<ProductBaselineDTO> |
getAllProductBaselines(String workspaceId)
Get product-baselines in given workspace
|
com.squareup.okhttp.Call |
getAllProductBaselinesAsync(String workspaceId,
ApiCallback<List<ProductBaselineDTO>> callback)
Get product-baselines in given workspace (asynchronously)
|
ApiResponse<List<ProductBaselineDTO>> |
getAllProductBaselinesWithHttpInfo(String workspaceId)
Get product-baselines in given workspace
|
ApiClient |
getApiClient() |
List<LightPathToPathLinkDTO> |
getPathToPathLinkInProductBaseline(String workspaceId,
String ciId,
Integer baselineId,
String sourcePath,
String targetPath)
Get product-baseline's path-to-path links for given source and target
|
com.squareup.okhttp.Call |
getPathToPathLinkInProductBaselineAsync(String workspaceId,
String ciId,
Integer baselineId,
String sourcePath,
String targetPath,
ApiCallback<List<LightPathToPathLinkDTO>> callback)
Get product-baseline's path-to-path links for given source and target (asynchronously)
|
ApiResponse<List<LightPathToPathLinkDTO>> |
getPathToPathLinkInProductBaselineWithHttpInfo(String workspaceId,
String ciId,
Integer baselineId,
String sourcePath,
String targetPath)
Get product-baseline's path-to-path links for given source and target
|
List<LightPathToPathLinkDTO> |
getPathToPathLinkTypesInBaseline(String workspaceId,
String ciId,
Integer baselineId)
Get product-baseline's path-to-path links
|
com.squareup.okhttp.Call |
getPathToPathLinkTypesInBaselineAsync(String workspaceId,
String ciId,
Integer baselineId,
ApiCallback<List<LightPathToPathLinkDTO>> callback)
Get product-baseline's path-to-path links (asynchronously)
|
ApiResponse<List<LightPathToPathLinkDTO>> |
getPathToPathLinkTypesInBaselineWithHttpInfo(String workspaceId,
String ciId,
Integer baselineId)
Get product-baseline's path-to-path links
|
ProductBaselineDTO |
getProductBaseline(String workspaceId,
String ciId,
Integer baselineId)
Get product-baseline by id
|
com.squareup.okhttp.Call |
getProductBaselineAsync(String workspaceId,
String ciId,
Integer baselineId,
ApiCallback<ProductBaselineDTO> callback)
Get product-baseline by id (asynchronously)
|
List<BaselinedPartDTO> |
getProductBaselineParts(String workspaceId,
String ciId,
Integer baselineId,
String q)
Get product-baseline's baselined parts
|
com.squareup.okhttp.Call |
getProductBaselinePartsAsync(String workspaceId,
String ciId,
Integer baselineId,
String q,
ApiCallback<List<BaselinedPartDTO>> callback)
Get product-baseline's baselined parts (asynchronously)
|
ApiResponse<List<BaselinedPartDTO>> |
getProductBaselinePartsWithHttpInfo(String workspaceId,
String ciId,
Integer baselineId,
String q)
Get product-baseline's baselined parts
|
List<ProductBaselineDTO> |
getProductBaselinesForProduct(String workspaceId,
String ciId)
Get product-baseline with given configuration item
|
com.squareup.okhttp.Call |
getProductBaselinesForProductAsync(String workspaceId,
String ciId,
ApiCallback<List<ProductBaselineDTO>> callback)
Get product-baseline with given configuration item (asynchronously)
|
ApiResponse<List<ProductBaselineDTO>> |
getProductBaselinesForProductWithHttpInfo(String workspaceId,
String ciId)
Get product-baseline with given configuration item
|
ApiResponse<ProductBaselineDTO> |
getProductBaselineWithHttpInfo(String workspaceId,
String ciId,
Integer baselineId)
Get product-baseline by id
|
void |
setApiClient(ApiClient apiClient) |
public ProductBaselineApi()
public ProductBaselineApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<ProductBaselineDTO> getAllProductBaselines(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<ProductBaselineDTO>> getAllProductBaselinesWithHttpInfo(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 getAllProductBaselinesAsync(String workspaceId, ApiCallback<List<ProductBaselineDTO>> 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 ProductBaselineDTO createProductBaseline(String workspaceId, ProductBaselineCreationDTO body, Boolean dryRun) throws ApiException
workspaceId
- Workspace idbody
- Product baseline to createdryRun
- Dry run flagApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ProductBaselineDTO> createProductBaselineWithHttpInfo(String workspaceId, ProductBaselineCreationDTO body, Boolean dryRun) throws ApiException
workspaceId
- Workspace idbody
- Product baseline to createdryRun
- Dry run flagApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createProductBaselineAsync(String workspaceId, ProductBaselineCreationDTO body, Boolean dryRun, ApiCallback<ProductBaselineDTO> callback) throws ApiException
workspaceId
- Workspace idbody
- Product baseline to createdryRun
- Dry run flagcallback
- 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<ProductBaselineDTO> getProductBaselinesForProduct(String workspaceId, String ciId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ProductBaselineDTO>> getProductBaselinesForProductWithHttpInfo(String workspaceId, String ciId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getProductBaselinesForProductAsync(String workspaceId, String ciId, ApiCallback<List<ProductBaselineDTO>> callback) throws ApiException
workspaceId
- Workspace idciId
- Configuration item 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 ProductBaselineDTO getProductBaseline(String workspaceId, String ciId, Integer baselineId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ProductBaselineDTO> getProductBaselineWithHttpInfo(String workspaceId, String ciId, Integer baselineId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getProductBaselineAsync(String workspaceId, String ciId, Integer baselineId, ApiCallback<ProductBaselineDTO> callback) throws ApiException
workspaceId
- Workspace idciId
- Configuration item 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 deleteProductBaseline(String workspaceId, String ciId, Integer baselineId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteProductBaselineWithHttpInfo(String workspaceId, String ciId, Integer baselineId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteProductBaselineAsync(String workspaceId, String ciId, Integer baselineId, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idciId
- Configuration item 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 List<BaselinedPartDTO> getProductBaselineParts(String workspaceId, String ciId, Integer baselineId, String q) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idbaselineId
- Baseline idq
- QueryApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<BaselinedPartDTO>> getProductBaselinePartsWithHttpInfo(String workspaceId, String ciId, Integer baselineId, String q) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idbaselineId
- Baseline idq
- QueryApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getProductBaselinePartsAsync(String workspaceId, String ciId, Integer baselineId, String q, ApiCallback<List<BaselinedPartDTO>> callback) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idbaselineId
- Baseline 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 List<LightPathToPathLinkDTO> getPathToPathLinkTypesInBaseline(String workspaceId, String ciId, Integer baselineId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<LightPathToPathLinkDTO>> getPathToPathLinkTypesInBaselineWithHttpInfo(String workspaceId, String ciId, Integer baselineId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idbaselineId
- Baseline idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getPathToPathLinkTypesInBaselineAsync(String workspaceId, String ciId, Integer baselineId, ApiCallback<List<LightPathToPathLinkDTO>> callback) throws ApiException
workspaceId
- Workspace idciId
- Configuration item 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 List<LightPathToPathLinkDTO> getPathToPathLinkInProductBaseline(String workspaceId, String ciId, Integer baselineId, String sourcePath, String targetPath) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idbaselineId
- Baseline idsourcePath
- Source pathtargetPath
- Target pathApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<LightPathToPathLinkDTO>> getPathToPathLinkInProductBaselineWithHttpInfo(String workspaceId, String ciId, Integer baselineId, String sourcePath, String targetPath) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idbaselineId
- Baseline idsourcePath
- Source pathtargetPath
- Target pathApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getPathToPathLinkInProductBaselineAsync(String workspaceId, String ciId, Integer baselineId, String sourcePath, String targetPath, ApiCallback<List<LightPathToPathLinkDTO>> callback) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idbaselineId
- Baseline idsourcePath
- Source pathtargetPath
- Target pathcallback
- 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.