Class ApiProductRevisionsApi
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.ApiProductRevisionsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAPIProductRevision(String apiProductId, APIRevisionDTO apIRevisionDTO) Create a new API Product revision Create a new API Product revisionokhttp3.CallcreateAPIProductRevisionAsync(String apiProductId, APIRevisionDTO apIRevisionDTO, ApiCallback<APIRevisionDTO> _callback) Create a new API Product revision (asynchronously) Create a new API Product revisionokhttp3.CallcreateAPIProductRevisionCall(String apiProductId, APIRevisionDTO apIRevisionDTO, ApiCallback _callback) Build call for createAPIProductRevisioncreateAPIProductRevisionWithHttpInfo(String apiProductId, APIRevisionDTO apIRevisionDTO) Create a new API Product revision Create a new API Product revisiondeleteAPIProductRevision(String apiProductId, String revisionId) Delete Revision Delete a revision of an API Productokhttp3.CalldeleteAPIProductRevisionAsync(String apiProductId, String revisionId, ApiCallback<APIRevisionListDTO> _callback) Delete Revision (asynchronously) Delete a revision of an API Productokhttp3.CalldeleteAPIProductRevisionCall(String apiProductId, String revisionId, ApiCallback _callback) Build call for deleteAPIProductRevisiondeleteAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId) Delete Revision Delete a revision of an API ProductvoiddeployAPIProductRevision(String apiProductId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) Deploy Revision Deploy an API Product Revisionokhttp3.CalldeployAPIProductRevisionAsync(String apiProductId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback<Void> _callback) Deploy Revision (asynchronously) Deploy an API Product Revisionokhttp3.CalldeployAPIProductRevisionCall(String apiProductId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback _callback) Build call for deployAPIProductRevisiondeployAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) Deploy Revision Deploy an API Product RevisiongetAPIProductRevision(String apiProductId, String revisionId) Retrieve Revision Retrieve a revision of an API Productokhttp3.CallgetAPIProductRevisionAsync(String apiProductId, String revisionId, ApiCallback<APIRevisionDTO> _callback) Retrieve Revision (asynchronously) Retrieve a revision of an API Productokhttp3.CallgetAPIProductRevisionCall(String apiProductId, String revisionId, ApiCallback _callback) Build call for getAPIProductRevisiongetAPIProductRevisionDeployments(String apiProductId) List Deployments List available deployed revision deployment details of an API Productokhttp3.CallgetAPIProductRevisionDeploymentsAsync(String apiProductId, ApiCallback<APIRevisionDeploymentListDTO> _callback) List Deployments (asynchronously) List available deployed revision deployment details of an API Productokhttp3.CallgetAPIProductRevisionDeploymentsCall(String apiProductId, ApiCallback _callback) Build call for getAPIProductRevisionDeploymentsgetAPIProductRevisionDeploymentsWithHttpInfo(String apiProductId) List Deployments List available deployed revision deployment details of an API ProductgetAPIProductRevisions(String apiProductId, String query) List Revisions List available revisions of an API Productokhttp3.CallgetAPIProductRevisionsAsync(String apiProductId, String query, ApiCallback<APIRevisionListDTO> _callback) List Revisions (asynchronously) List available revisions of an API Productokhttp3.CallgetAPIProductRevisionsCall(String apiProductId, String query, ApiCallback _callback) Build call for getAPIProductRevisionsgetAPIProductRevisionsWithHttpInfo(String apiProductId, String query) List Revisions List available revisions of an API ProductgetAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId) Retrieve Revision Retrieve a revision of an API ProductrestoreAPIProductRevision(String apiProductId, String revisionId) Restore Revision Restore a revision to the Current API of the API Productokhttp3.CallrestoreAPIProductRevisionAsync(String apiProductId, String revisionId, ApiCallback<APIProductDTO> _callback) Restore Revision (asynchronously) Restore a revision to the Current API of the API Productokhttp3.CallrestoreAPIProductRevisionCall(String apiProductId, String revisionId, ApiCallback _callback) Build call for restoreAPIProductRevisionrestoreAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId) Restore Revision Restore a revision to the Current API of the API ProductvoidsetApiClient(ApiClient apiClient) voidundeployAPIProductRevision(String apiProductId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) UnDeploy Revision UnDeploy an API Product Revisionokhttp3.CallundeployAPIProductRevisionAsync(String apiProductId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback<Void> _callback) UnDeploy Revision (asynchronously) UnDeploy an API Product Revisionokhttp3.CallundeployAPIProductRevisionCall(String apiProductId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback _callback) Build call for undeployAPIProductRevisionundeployAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) UnDeploy Revision UnDeploy an API Product RevisionupdateAPIProductDeployment(String apiProductId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO) Update Deployment Update deployment devportal visibilityokhttp3.CallupdateAPIProductDeploymentAsync(String apiProductId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO, ApiCallback<APIRevisionDeploymentDTO> _callback) Update Deployment (asynchronously) Update deployment devportal visibilityokhttp3.CallupdateAPIProductDeploymentCall(String apiProductId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO, ApiCallback _callback) Build call for updateAPIProductDeploymentupdateAPIProductDeploymentWithHttpInfo(String apiProductId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO) Update Deployment Update deployment devportal visibility
-
Constructor Details
-
ApiProductRevisionsApi
public ApiProductRevisionsApi() -
ApiProductRevisionsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createAPIProductRevisionCall
public okhttp3.Call createAPIProductRevisionCall(String apiProductId, APIRevisionDTO apIRevisionDTO, ApiCallback _callback) throws ApiException Build call for createAPIProductRevision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)apIRevisionDTO- API Product object that needs to be added (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createAPIProductRevision
public APIRevisionDTO createAPIProductRevision(String apiProductId, APIRevisionDTO apIRevisionDTO) throws ApiException Create a new API Product revision Create a new API Product revision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)apIRevisionDTO- API Product object that needs to be added (optional)- Returns:
- APIRevisionDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createAPIProductRevisionWithHttpInfo
public ApiResponse<APIRevisionDTO> createAPIProductRevisionWithHttpInfo(String apiProductId, APIRevisionDTO apIRevisionDTO) throws ApiException Create a new API Product revision Create a new API Product revision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)apIRevisionDTO- API Product object that needs to be added (optional)- Returns:
- ApiResponse<APIRevisionDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createAPIProductRevisionAsync
public okhttp3.Call createAPIProductRevisionAsync(String apiProductId, APIRevisionDTO apIRevisionDTO, ApiCallback<APIRevisionDTO> _callback) throws ApiException Create a new API Product revision (asynchronously) Create a new API Product revision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)apIRevisionDTO- API Product object that needs to be added (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
deleteAPIProductRevisionCall
public okhttp3.Call deleteAPIProductRevisionCall(String apiProductId, String revisionId, ApiCallback _callback) throws ApiException Build call for deleteAPIProductRevision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteAPIProductRevision
public APIRevisionListDTO deleteAPIProductRevision(String apiProductId, String revisionId) throws ApiException Delete Revision Delete a revision of an API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (required)- Returns:
- APIRevisionListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteAPIProductRevisionWithHttpInfo
public ApiResponse<APIRevisionListDTO> deleteAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId) throws ApiException Delete Revision Delete a revision of an API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (required)- Returns:
- ApiResponse<APIRevisionListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteAPIProductRevisionAsync
public okhttp3.Call deleteAPIProductRevisionAsync(String apiProductId, String revisionId, ApiCallback<APIRevisionListDTO> _callback) throws ApiException Delete Revision (asynchronously) Delete a revision of an API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
deployAPIProductRevisionCall
public okhttp3.Call deployAPIProductRevisionCall(String apiProductId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback _callback) throws ApiException Build call for deployAPIProductRevision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (optional)apIRevisionDeploymentDTO- Deployment object that needs to be added (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deployAPIProductRevision
public void deployAPIProductRevision(String apiProductId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException Deploy Revision Deploy an API Product Revision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (optional)apIRevisionDeploymentDTO- Deployment object that needs to be added (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deployAPIProductRevisionWithHttpInfo
public ApiResponse<Void> deployAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException Deploy Revision Deploy an API Product Revision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (optional)apIRevisionDeploymentDTO- Deployment object that needs to be added (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deployAPIProductRevisionAsync
public okhttp3.Call deployAPIProductRevisionAsync(String apiProductId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback<Void> _callback) throws ApiException Deploy Revision (asynchronously) Deploy an API Product Revision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (optional)apIRevisionDeploymentDTO- Deployment object that needs to be added (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getAPIProductRevisionCall
public okhttp3.Call getAPIProductRevisionCall(String apiProductId, String revisionId, ApiCallback _callback) throws ApiException Build call for getAPIProductRevision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAPIProductRevision
public APIRevisionDTO getAPIProductRevision(String apiProductId, String revisionId) throws ApiException Retrieve Revision Retrieve a revision of an API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (required)- Returns:
- APIRevisionDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIProductRevisionWithHttpInfo
public ApiResponse<APIRevisionDTO> getAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId) throws ApiException Retrieve Revision Retrieve a revision of an API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (required)- Returns:
- ApiResponse<APIRevisionDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIProductRevisionAsync
public okhttp3.Call getAPIProductRevisionAsync(String apiProductId, String revisionId, ApiCallback<APIRevisionDTO> _callback) throws ApiException Retrieve Revision (asynchronously) Retrieve a revision of an API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getAPIProductRevisionDeploymentsCall
public okhttp3.Call getAPIProductRevisionDeploymentsCall(String apiProductId, ApiCallback _callback) throws ApiException Build call for getAPIProductRevisionDeployments- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAPIProductRevisionDeployments
public APIRevisionDeploymentListDTO getAPIProductRevisionDeployments(String apiProductId) throws ApiException List Deployments List available deployed revision deployment details of an API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)- Returns:
- APIRevisionDeploymentListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIProductRevisionDeploymentsWithHttpInfo
public ApiResponse<APIRevisionDeploymentListDTO> getAPIProductRevisionDeploymentsWithHttpInfo(String apiProductId) throws ApiException List Deployments List available deployed revision deployment details of an API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)- Returns:
- ApiResponse<APIRevisionDeploymentListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIProductRevisionDeploymentsAsync
public okhttp3.Call getAPIProductRevisionDeploymentsAsync(String apiProductId, ApiCallback<APIRevisionDeploymentListDTO> _callback) throws ApiException List Deployments (asynchronously) List available deployed revision deployment details of an API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getAPIProductRevisionsCall
public okhttp3.Call getAPIProductRevisionsCall(String apiProductId, String query, ApiCallback _callback) throws ApiException Build call for getAPIProductRevisions- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)query- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAPIProductRevisions
public APIRevisionListDTO getAPIProductRevisions(String apiProductId, String query) throws ApiException List Revisions List available revisions of an API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)query- (optional)- Returns:
- APIRevisionListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIProductRevisionsWithHttpInfo
public ApiResponse<APIRevisionListDTO> getAPIProductRevisionsWithHttpInfo(String apiProductId, String query) throws ApiException List Revisions List available revisions of an API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)query- (optional)- Returns:
- ApiResponse<APIRevisionListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIProductRevisionsAsync
public okhttp3.Call getAPIProductRevisionsAsync(String apiProductId, String query, ApiCallback<APIRevisionListDTO> _callback) throws ApiException List Revisions (asynchronously) List available revisions of an API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)query- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
restoreAPIProductRevisionCall
public okhttp3.Call restoreAPIProductRevisionCall(String apiProductId, String revisionId, ApiCallback _callback) throws ApiException Build call for restoreAPIProductRevision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
restoreAPIProductRevision
public APIProductDTO restoreAPIProductRevision(String apiProductId, String revisionId) throws ApiException Restore Revision Restore a revision to the Current API of the API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (optional)- Returns:
- APIProductDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
restoreAPIProductRevisionWithHttpInfo
public ApiResponse<APIProductDTO> restoreAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId) throws ApiException Restore Revision Restore a revision to the Current API of the API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (optional)- Returns:
- ApiResponse<APIProductDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
restoreAPIProductRevisionAsync
public okhttp3.Call restoreAPIProductRevisionAsync(String apiProductId, String revisionId, ApiCallback<APIProductDTO> _callback) throws ApiException Restore Revision (asynchronously) Restore a revision to the Current API of the API Product- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
undeployAPIProductRevisionCall
public okhttp3.Call undeployAPIProductRevisionCall(String apiProductId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback _callback) throws ApiException Build call for undeployAPIProductRevision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (optional)revisionNumber- Revision Number of an API (optional)allEnvironments- (optional, default to false)apIRevisionDeploymentDTO- Deployment object that needs to be added (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
undeployAPIProductRevision
public void undeployAPIProductRevision(String apiProductId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException UnDeploy Revision UnDeploy an API Product Revision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (optional)revisionNumber- Revision Number of an API (optional)allEnvironments- (optional, default to false)apIRevisionDeploymentDTO- Deployment object that needs to be added (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
undeployAPIProductRevisionWithHttpInfo
public ApiResponse<Void> undeployAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException UnDeploy Revision UnDeploy an API Product Revision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (optional)revisionNumber- Revision Number of an API (optional)allEnvironments- (optional, default to false)apIRevisionDeploymentDTO- Deployment object that needs to be added (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
undeployAPIProductRevisionAsync
public okhttp3.Call undeployAPIProductRevisionAsync(String apiProductId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback<Void> _callback) throws ApiException UnDeploy Revision (asynchronously) UnDeploy an API Product Revision- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId- Revision ID of an API (optional)revisionNumber- Revision Number of an API (optional)allEnvironments- (optional, default to false)apIRevisionDeploymentDTO- Deployment object that needs to be added (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
updateAPIProductDeploymentCall
public okhttp3.Call updateAPIProductDeploymentCall(String apiProductId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO, ApiCallback _callback) throws ApiException Build call for updateAPIProductDeployment- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)deploymentId- Base64 URL encoded value of the name of an environment (required)apIRevisionDeploymentDTO- Deployment object that needs to be updated (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateAPIProductDeployment
public APIRevisionDeploymentDTO updateAPIProductDeployment(String apiProductId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO) throws ApiException Update Deployment Update deployment devportal visibility- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)deploymentId- Base64 URL encoded value of the name of an environment (required)apIRevisionDeploymentDTO- Deployment object that needs to be updated (optional)- Returns:
- APIRevisionDeploymentDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateAPIProductDeploymentWithHttpInfo
public ApiResponse<APIRevisionDeploymentDTO> updateAPIProductDeploymentWithHttpInfo(String apiProductId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO) throws ApiException Update Deployment Update deployment devportal visibility- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)deploymentId- Base64 URL encoded value of the name of an environment (required)apIRevisionDeploymentDTO- Deployment object that needs to be updated (optional)- Returns:
- ApiResponse<APIRevisionDeploymentDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateAPIProductDeploymentAsync
public okhttp3.Call updateAPIProductDeploymentAsync(String apiProductId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO, ApiCallback<APIRevisionDeploymentDTO> _callback) throws ApiException Update Deployment (asynchronously) Update deployment devportal visibility- Parameters:
apiProductId- **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)deploymentId- Base64 URL encoded value of the name of an environment (required)apIRevisionDeploymentDTO- Deployment object that needs to be updated (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-