public class EnvironmentsApi extends Object
| Constructor and Description |
|---|
EnvironmentsApi() |
EnvironmentsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
IdResponse |
createEnvironment(String code,
EnvironmentCreate environmentCreate)
Create a new environment.
|
okhttp3.Call |
createEnvironmentAsync(String code,
EnvironmentCreate environmentCreate,
ApiCallback<IdResponse> _callback)
Create a new environment.
|
okhttp3.Call |
createEnvironmentCall(String code,
EnvironmentCreate environmentCreate,
ApiCallback _callback)
Build call for createEnvironment
|
ApiResponse<IdResponse> |
createEnvironmentWithHttpInfo(String code,
EnvironmentCreate environmentCreate)
Create a new environment.
|
IdResponse |
deleteEnvironment(String code,
Integer id)
Delete environment.
|
okhttp3.Call |
deleteEnvironmentAsync(String code,
Integer id,
ApiCallback<IdResponse> _callback)
Delete environment.
|
okhttp3.Call |
deleteEnvironmentCall(String code,
Integer id,
ApiCallback _callback)
Build call for deleteEnvironment
|
ApiResponse<IdResponse> |
deleteEnvironmentWithHttpInfo(String code,
Integer id)
Delete environment.
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
EnvironmentResponse |
getEnvironment(String code,
Integer id)
Get a specific environment.
|
okhttp3.Call |
getEnvironmentAsync(String code,
Integer id,
ApiCallback<EnvironmentResponse> _callback)
Get a specific environment.
|
okhttp3.Call |
getEnvironmentCall(String code,
Integer id,
ApiCallback _callback)
Build call for getEnvironment
|
EnvironmentListResponse |
getEnvironments(String code,
Integer limit,
Integer offset)
Get all environments.
|
okhttp3.Call |
getEnvironmentsAsync(String code,
Integer limit,
Integer offset,
ApiCallback<EnvironmentListResponse> _callback)
Get all environments.
|
okhttp3.Call |
getEnvironmentsCall(String code,
Integer limit,
Integer offset,
ApiCallback _callback)
Build call for getEnvironments
|
ApiResponse<EnvironmentListResponse> |
getEnvironmentsWithHttpInfo(String code,
Integer limit,
Integer offset)
Get all environments.
|
ApiResponse<EnvironmentResponse> |
getEnvironmentWithHttpInfo(String code,
Integer id)
Get a specific environment.
|
int |
getHostIndex() |
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
IdResponse |
updateEnvironment(String code,
Integer id,
EnvironmentUpdate environmentUpdate)
Update environment.
|
okhttp3.Call |
updateEnvironmentAsync(String code,
Integer id,
EnvironmentUpdate environmentUpdate,
ApiCallback<IdResponse> _callback)
Update environment.
|
okhttp3.Call |
updateEnvironmentCall(String code,
Integer id,
EnvironmentUpdate environmentUpdate,
ApiCallback _callback)
Build call for updateEnvironment
|
ApiResponse<IdResponse> |
updateEnvironmentWithHttpInfo(String code,
Integer id,
EnvironmentUpdate environmentUpdate)
Update environment.
|
public EnvironmentsApi()
public EnvironmentsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call createEnvironmentCall(String code, EnvironmentCreate environmentCreate, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)environmentCreate - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse createEnvironment(String code, EnvironmentCreate environmentCreate) throws QaseException
code - Code of project, where to search entities. (required)environmentCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> createEnvironmentWithHttpInfo(String code, EnvironmentCreate environmentCreate) throws QaseException
code - Code of project, where to search entities. (required)environmentCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createEnvironmentAsync(String code, EnvironmentCreate environmentCreate, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)environmentCreate - (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call deleteEnvironmentCall(String code, Integer id, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse deleteEnvironment(String code, Integer id) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> deleteEnvironmentWithHttpInfo(String code, Integer id) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteEnvironmentAsync(String code, Integer id, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getEnvironmentCall(String code, Integer id, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic EnvironmentResponse getEnvironment(String code, Integer id) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EnvironmentResponse> getEnvironmentWithHttpInfo(String code, Integer id) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getEnvironmentAsync(String code, Integer id, ApiCallback<EnvironmentResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getEnvironmentsCall(String code, Integer limit, Integer offset, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic EnvironmentListResponse getEnvironments(String code, Integer limit, Integer offset) throws QaseException
code - Code of project, where to search entities. (required)limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EnvironmentListResponse> getEnvironmentsWithHttpInfo(String code, Integer limit, Integer offset) throws QaseException
code - Code of project, where to search entities. (required)limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getEnvironmentsAsync(String code, Integer limit, Integer offset, ApiCallback<EnvironmentListResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call updateEnvironmentCall(String code, Integer id, EnvironmentUpdate environmentUpdate, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)environmentUpdate - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic IdResponse updateEnvironment(String code, Integer id, EnvironmentUpdate environmentUpdate) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)environmentUpdate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IdResponse> updateEnvironmentWithHttpInfo(String code, Integer id, EnvironmentUpdate environmentUpdate) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)environmentUpdate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateEnvironmentAsync(String code, Integer id, EnvironmentUpdate environmentUpdate, ApiCallback<IdResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)id - Identifier. (required)environmentUpdate - (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2023. All rights reserved.