public class ProductConfigurationsApi extends Object
Constructor and Description |
---|
ProductConfigurationsApi() |
ProductConfigurationsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ProductConfigurationDTO |
createConfiguration(String workspaceId,
ProductConfigurationDTO body)
Create a new product configuration
|
com.squareup.okhttp.Call |
createConfigurationAsync(String workspaceId,
ProductConfigurationDTO body,
ApiCallback<ProductConfigurationDTO> callback)
Create a new product configuration (asynchronously)
|
ApiResponse<ProductConfigurationDTO> |
createConfigurationWithHttpInfo(String workspaceId,
ProductConfigurationDTO body)
Create a new product configuration
|
void |
deleteProductConfiguration(String workspaceId,
String ciId,
Integer productConfigurationId)
Delete product configuration
|
com.squareup.okhttp.Call |
deleteProductConfigurationAsync(String workspaceId,
String ciId,
Integer productConfigurationId,
ApiCallback<Void> callback)
Delete product configuration (asynchronously)
|
ApiResponse<Void> |
deleteProductConfigurationWithHttpInfo(String workspaceId,
String ciId,
Integer productConfigurationId)
Delete product configuration
|
List<ProductConfigurationDTO> |
getAllConfigurations(String workspaceId)
Get all product configurations in workspace
|
com.squareup.okhttp.Call |
getAllConfigurationsAsync(String workspaceId,
ApiCallback<List<ProductConfigurationDTO>> callback)
Get all product configurations in workspace (asynchronously)
|
ApiResponse<List<ProductConfigurationDTO>> |
getAllConfigurationsWithHttpInfo(String workspaceId)
Get all product configurations in workspace
|
ApiClient |
getApiClient() |
ProductConfigurationDTO |
getConfiguration(String workspaceId,
String ciId,
Integer productConfigurationId)
Get product configuration by id
|
com.squareup.okhttp.Call |
getConfigurationAsync(String workspaceId,
String ciId,
Integer productConfigurationId,
ApiCallback<ProductConfigurationDTO> callback)
Get product configuration by id (asynchronously)
|
List<ProductConfigurationDTO> |
getConfigurationsForProduct(String workspaceId,
String ciId)
Get all product configurations for given product
|
com.squareup.okhttp.Call |
getConfigurationsForProductAsync(String workspaceId,
String ciId,
ApiCallback<List<ProductConfigurationDTO>> callback)
Get all product configurations for given product (asynchronously)
|
ApiResponse<List<ProductConfigurationDTO>> |
getConfigurationsForProductWithHttpInfo(String workspaceId,
String ciId)
Get all product configurations for given product
|
ApiResponse<ProductConfigurationDTO> |
getConfigurationWithHttpInfo(String workspaceId,
String ciId,
Integer productConfigurationId)
Get product configuration by id
|
void |
setApiClient(ApiClient apiClient) |
void |
updateConfigurationACL(String workspaceId,
String ciId,
Integer productConfigurationId,
ACLDTO body)
Update product configuration ACL
|
com.squareup.okhttp.Call |
updateConfigurationACLAsync(String workspaceId,
String ciId,
Integer productConfigurationId,
ACLDTO body,
ApiCallback<Void> callback)
Update product configuration ACL (asynchronously)
|
ApiResponse<Void> |
updateConfigurationACLWithHttpInfo(String workspaceId,
String ciId,
Integer productConfigurationId,
ACLDTO body)
Update product configuration ACL
|
public ProductConfigurationsApi()
public ProductConfigurationsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<ProductConfigurationDTO> getAllConfigurations(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<ProductConfigurationDTO>> getAllConfigurationsWithHttpInfo(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 getAllConfigurationsAsync(String workspaceId, ApiCallback<List<ProductConfigurationDTO>> 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 ProductConfigurationDTO createConfiguration(String workspaceId, ProductConfigurationDTO body) throws ApiException
workspaceId
- Workspace idbody
- Product configuration to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ProductConfigurationDTO> createConfigurationWithHttpInfo(String workspaceId, ProductConfigurationDTO body) throws ApiException
workspaceId
- Workspace idbody
- Product configuration to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createConfigurationAsync(String workspaceId, ProductConfigurationDTO body, ApiCallback<ProductConfigurationDTO> callback) throws ApiException
workspaceId
- Workspace idbody
- Product configuration 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<ProductConfigurationDTO> getConfigurationsForProduct(String workspaceId, String ciId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item id filterApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ProductConfigurationDTO>> getConfigurationsForProductWithHttpInfo(String workspaceId, String ciId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item id filterApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getConfigurationsForProductAsync(String workspaceId, String ciId, ApiCallback<List<ProductConfigurationDTO>> callback) throws ApiException
workspaceId
- Workspace idciId
- Configuration item id filtercallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic ProductConfigurationDTO getConfiguration(String workspaceId, String ciId, Integer productConfigurationId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idproductConfigurationId
- Product configuration idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ProductConfigurationDTO> getConfigurationWithHttpInfo(String workspaceId, String ciId, Integer productConfigurationId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idproductConfigurationId
- Product configuration idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getConfigurationAsync(String workspaceId, String ciId, Integer productConfigurationId, ApiCallback<ProductConfigurationDTO> callback) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idproductConfigurationId
- Product configuration 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 deleteProductConfiguration(String workspaceId, String ciId, Integer productConfigurationId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idproductConfigurationId
- Product configuration idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteProductConfigurationWithHttpInfo(String workspaceId, String ciId, Integer productConfigurationId) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idproductConfigurationId
- Product configuration idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteProductConfigurationAsync(String workspaceId, String ciId, Integer productConfigurationId, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idproductConfigurationId
- Product configuration 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 updateConfigurationACL(String workspaceId, String ciId, Integer productConfigurationId, ACLDTO body) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idproductConfigurationId
- Product configuration idbody
- ACL rules to setApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateConfigurationACLWithHttpInfo(String workspaceId, String ciId, Integer productConfigurationId, ACLDTO body) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idproductConfigurationId
- Product configuration 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 updateConfigurationACLAsync(String workspaceId, String ciId, Integer productConfigurationId, ACLDTO body, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idciId
- Configuration item idproductConfigurationId
- Product configuration 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 objectCopyright © 2019 DocDoku. All rights reserved.