public class EnvironmentsApi
extends java.lang.Object
| Constructor and Description |
|---|
EnvironmentsApi() |
EnvironmentsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
EnvironmentModel |
createEnvironment(java.util.UUID productId,
CreateEnvironmentModel createEnvironmentModel)
Create Environment
This endpoint creates a new Environment in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
okhttp3.Call |
createEnvironmentAsync(java.util.UUID productId,
CreateEnvironmentModel createEnvironmentModel,
ApiCallback<EnvironmentModel> _callback)
Create Environment (asynchronously)
This endpoint creates a new Environment in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
okhttp3.Call |
createEnvironmentCall(java.util.UUID productId,
CreateEnvironmentModel createEnvironmentModel,
ApiCallback _callback)
Build call for createEnvironment
|
ApiResponse<EnvironmentModel> |
createEnvironmentWithHttpInfo(java.util.UUID productId,
CreateEnvironmentModel createEnvironmentModel)
Create Environment
This endpoint creates a new Environment in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
void |
deleteEnvironment(java.util.UUID environmentId,
java.lang.Boolean cleanupAuditLogs)
Delete Environment
This endpoint removes an Environment identified by the `environmentId` parameter.
|
okhttp3.Call |
deleteEnvironmentAsync(java.util.UUID environmentId,
java.lang.Boolean cleanupAuditLogs,
ApiCallback<java.lang.Void> _callback)
Delete Environment (asynchronously)
This endpoint removes an Environment identified by the `environmentId` parameter.
|
okhttp3.Call |
deleteEnvironmentCall(java.util.UUID environmentId,
java.lang.Boolean cleanupAuditLogs,
ApiCallback _callback)
Build call for deleteEnvironment
|
ApiResponse<java.lang.Void> |
deleteEnvironmentWithHttpInfo(java.util.UUID environmentId,
java.lang.Boolean cleanupAuditLogs)
Delete Environment
This endpoint removes an Environment identified by the `environmentId` parameter.
|
ApiClient |
getApiClient() |
java.lang.String |
getCustomBaseUrl() |
EnvironmentModel |
getEnvironment(java.util.UUID environmentId)
Get Environment
This endpoint returns the metadata of an Environment identified by the `environmentId`.
|
okhttp3.Call |
getEnvironmentAsync(java.util.UUID environmentId,
ApiCallback<EnvironmentModel> _callback)
Get Environment (asynchronously)
This endpoint returns the metadata of an Environment identified by the `environmentId`.
|
okhttp3.Call |
getEnvironmentCall(java.util.UUID environmentId,
ApiCallback _callback)
Build call for getEnvironment
|
java.util.List<EnvironmentModel> |
getEnvironments(java.util.UUID productId)
List Environments
This endpoint returns the list of the Environments that belongs to the given Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
okhttp3.Call |
getEnvironmentsAsync(java.util.UUID productId,
ApiCallback<java.util.List<EnvironmentModel>> _callback)
List Environments (asynchronously)
This endpoint returns the list of the Environments that belongs to the given Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
okhttp3.Call |
getEnvironmentsCall(java.util.UUID productId,
ApiCallback _callback)
Build call for getEnvironments
|
ApiResponse<java.util.List<EnvironmentModel>> |
getEnvironmentsWithHttpInfo(java.util.UUID productId)
List Environments
This endpoint returns the list of the Environments that belongs to the given Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
|
ApiResponse<EnvironmentModel> |
getEnvironmentWithHttpInfo(java.util.UUID environmentId)
Get Environment
This endpoint returns the metadata of an Environment identified by the `environmentId`.
|
int |
getHostIndex() |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(java.lang.String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
EnvironmentModel |
updateEnvironment(java.util.UUID environmentId,
UpdateEnvironmentModel updateEnvironmentModel)
Update Environment
This endpoint updates an Environment identified by the `environmentId` parameter.
|
okhttp3.Call |
updateEnvironmentAsync(java.util.UUID environmentId,
UpdateEnvironmentModel updateEnvironmentModel,
ApiCallback<EnvironmentModel> _callback)
Update Environment (asynchronously)
This endpoint updates an Environment identified by the `environmentId` parameter.
|
okhttp3.Call |
updateEnvironmentCall(java.util.UUID environmentId,
UpdateEnvironmentModel updateEnvironmentModel,
ApiCallback _callback)
Build call for updateEnvironment
|
ApiResponse<EnvironmentModel> |
updateEnvironmentWithHttpInfo(java.util.UUID environmentId,
UpdateEnvironmentModel updateEnvironmentModel)
Update Environment
This endpoint updates an Environment identified by the `environmentId` parameter.
|
public EnvironmentsApi()
public EnvironmentsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call createEnvironmentCall(java.util.UUID productId,
CreateEnvironmentModel createEnvironmentModel,
ApiCallback _callback)
throws ApiException
productId - The identifier of the Product. (required)createEnvironmentModel - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public EnvironmentModel createEnvironment(java.util.UUID productId, CreateEnvironmentModel createEnvironmentModel) throws ApiException
productId - The identifier of the Product. (required)createEnvironmentModel - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<EnvironmentModel> createEnvironmentWithHttpInfo(java.util.UUID productId, CreateEnvironmentModel createEnvironmentModel) throws ApiException
productId - The identifier of the Product. (required)createEnvironmentModel - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call createEnvironmentAsync(java.util.UUID productId,
CreateEnvironmentModel createEnvironmentModel,
ApiCallback<EnvironmentModel> _callback)
throws ApiException
productId - The identifier of the Product. (required)createEnvironmentModel - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 201 | When the creation was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call deleteEnvironmentCall(java.util.UUID environmentId,
java.lang.Boolean cleanupAuditLogs,
ApiCallback _callback)
throws ApiException
environmentId - The identifier of the Environment. (required)cleanupAuditLogs - An optional flag which indicates whether the audit log records related to the environment should be deleted or not. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public void deleteEnvironment(java.util.UUID environmentId,
java.lang.Boolean cleanupAuditLogs)
throws ApiException
environmentId - The identifier of the Environment. (required)cleanupAuditLogs - An optional flag which indicates whether the audit log records related to the environment should be deleted or not. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<java.lang.Void> deleteEnvironmentWithHttpInfo(java.util.UUID environmentId, java.lang.Boolean cleanupAuditLogs) throws ApiException
environmentId - The identifier of the Environment. (required)cleanupAuditLogs - An optional flag which indicates whether the audit log records related to the environment should be deleted or not. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call deleteEnvironmentAsync(java.util.UUID environmentId,
java.lang.Boolean cleanupAuditLogs,
ApiCallback<java.lang.Void> _callback)
throws ApiException
environmentId - The identifier of the Environment. (required)cleanupAuditLogs - An optional flag which indicates whether the audit log records related to the environment should be deleted or not. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 204 | When the delete was successful. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getEnvironmentCall(java.util.UUID environmentId,
ApiCallback _callback)
throws ApiException
environmentId - The identifier of the Environment. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | When everything is ok, the environment data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public EnvironmentModel getEnvironment(java.util.UUID environmentId) throws ApiException
environmentId - The identifier of the Environment. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When everything is ok, the environment data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<EnvironmentModel> getEnvironmentWithHttpInfo(java.util.UUID environmentId) throws ApiException
environmentId - The identifier of the Environment. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | When everything is ok, the environment data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getEnvironmentAsync(java.util.UUID environmentId,
ApiCallback<EnvironmentModel> _callback)
throws ApiException
environmentId - The identifier of the Environment. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | When everything is ok, the environment data returned. | - |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getEnvironmentsCall(java.util.UUID productId,
ApiCallback _callback)
throws ApiException
productId - The identifier of the Product. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public java.util.List<EnvironmentModel> getEnvironments(java.util.UUID productId) throws ApiException
productId - The identifier of the Product. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<java.util.List<EnvironmentModel>> getEnvironmentsWithHttpInfo(java.util.UUID productId) throws ApiException
productId - The identifier of the Product. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call getEnvironmentsAsync(java.util.UUID productId,
ApiCallback<java.util.List<EnvironmentModel>> _callback)
throws ApiException
productId - The identifier of the Product. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call updateEnvironmentCall(java.util.UUID environmentId,
UpdateEnvironmentModel updateEnvironmentModel,
ApiCallback _callback)
throws ApiException
environmentId - The identifier of the Environment. (required)updateEnvironmentModel - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public EnvironmentModel updateEnvironment(java.util.UUID environmentId, UpdateEnvironmentModel updateEnvironmentModel) throws ApiException
environmentId - The identifier of the Environment. (required)updateEnvironmentModel - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public ApiResponse<EnvironmentModel> updateEnvironmentWithHttpInfo(java.util.UUID environmentId, UpdateEnvironmentModel updateEnvironmentModel) throws ApiException
environmentId - The identifier of the Environment. (required)updateEnvironmentModel - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |
public okhttp3.Call updateEnvironmentAsync(java.util.UUID environmentId,
UpdateEnvironmentModel updateEnvironmentModel,
ApiCallback<EnvironmentModel> _callback)
throws ApiException
environmentId - The identifier of the Environment. (required)updateEnvironmentModel - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | - | |
| 400 | Bad request. | - |
| 404 | Not found. | - |
| 429 | Too many requests. In case of the request rate exceeds the rate limits. | - |