Class EnvironmentApi
java.lang.Object
org.wso2.am.integration.clients.admin.api.EnvironmentApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidenvironmentsEnvironmentIdDelete(String environmentId) Delete an Environment Delete a Environment by Environment Idokhttp3.CallenvironmentsEnvironmentIdDeleteAsync(String environmentId, ApiCallback<Void> _callback) Delete an Environment (asynchronously) Delete a Environment by Environment Idokhttp3.CallenvironmentsEnvironmentIdDeleteCall(String environmentId, ApiCallback _callback) Build call for environmentsEnvironmentIdDeleteenvironmentsEnvironmentIdDeleteWithHttpInfo(String environmentId) Delete an Environment Delete a Environment by Environment IdenvironmentsEnvironmentIdPut(String environmentId, EnvironmentDTO environmentDTO) Update an Environment Update a gateway Environment by environment Idokhttp3.CallenvironmentsEnvironmentIdPutAsync(String environmentId, EnvironmentDTO environmentDTO, ApiCallback<EnvironmentDTO> _callback) Update an Environment (asynchronously) Update a gateway Environment by environment Idokhttp3.CallenvironmentsEnvironmentIdPutCall(String environmentId, EnvironmentDTO environmentDTO, ApiCallback _callback) Build call for environmentsEnvironmentIdPutenvironmentsEnvironmentIdPutWithHttpInfo(String environmentId, EnvironmentDTO environmentDTO) Update an Environment Update a gateway Environment by environment IdenvironmentsPost(EnvironmentDTO environmentDTO) Add an Environment Add a new geteway environmentokhttp3.CallenvironmentsPostAsync(EnvironmentDTO environmentDTO, ApiCallback<EnvironmentDTO> _callback) Add an Environment (asynchronously) Add a new geteway environmentokhttp3.CallenvironmentsPostCall(EnvironmentDTO environmentDTO, ApiCallback _callback) Build call for environmentsPostenvironmentsPostWithHttpInfo(EnvironmentDTO environmentDTO) Add an Environment Add a new geteway environmentvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
EnvironmentApi
public EnvironmentApi() -
EnvironmentApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
environmentsEnvironmentIdDeleteCall
public okhttp3.Call environmentsEnvironmentIdDeleteCall(String environmentId, ApiCallback _callback) throws ApiException Build call for environmentsEnvironmentIdDelete- Parameters:
environmentId- Environment UUID (or Environment name defined in config) (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
environmentsEnvironmentIdDelete
Delete an Environment Delete a Environment by Environment Id- Parameters:
environmentId- Environment UUID (or Environment name defined in config) (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
environmentsEnvironmentIdDeleteWithHttpInfo
public ApiResponse<Void> environmentsEnvironmentIdDeleteWithHttpInfo(String environmentId) throws ApiException Delete an Environment Delete a Environment by Environment Id- Parameters:
environmentId- Environment UUID (or Environment name defined in config) (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
environmentsEnvironmentIdDeleteAsync
public okhttp3.Call environmentsEnvironmentIdDeleteAsync(String environmentId, ApiCallback<Void> _callback) throws ApiException Delete an Environment (asynchronously) Delete a Environment by Environment Id- Parameters:
environmentId- Environment UUID (or Environment name defined in config) (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
-
environmentsEnvironmentIdPutCall
public okhttp3.Call environmentsEnvironmentIdPutCall(String environmentId, EnvironmentDTO environmentDTO, ApiCallback _callback) throws ApiException Build call for environmentsEnvironmentIdPut- Parameters:
environmentId- Environment UUID (or Environment name defined in config) (required)environmentDTO- Environment object with updated information (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
environmentsEnvironmentIdPut
public EnvironmentDTO environmentsEnvironmentIdPut(String environmentId, EnvironmentDTO environmentDTO) throws ApiException Update an Environment Update a gateway Environment by environment Id- Parameters:
environmentId- Environment UUID (or Environment name defined in config) (required)environmentDTO- Environment object with updated information (required)- Returns:
- EnvironmentDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
environmentsEnvironmentIdPutWithHttpInfo
public ApiResponse<EnvironmentDTO> environmentsEnvironmentIdPutWithHttpInfo(String environmentId, EnvironmentDTO environmentDTO) throws ApiException Update an Environment Update a gateway Environment by environment Id- Parameters:
environmentId- Environment UUID (or Environment name defined in config) (required)environmentDTO- Environment object with updated information (required)- Returns:
- ApiResponse<EnvironmentDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
environmentsEnvironmentIdPutAsync
public okhttp3.Call environmentsEnvironmentIdPutAsync(String environmentId, EnvironmentDTO environmentDTO, ApiCallback<EnvironmentDTO> _callback) throws ApiException Update an Environment (asynchronously) Update a gateway Environment by environment Id- Parameters:
environmentId- Environment UUID (or Environment name defined in config) (required)environmentDTO- Environment object with updated information (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
-
environmentsPostCall
public okhttp3.Call environmentsPostCall(EnvironmentDTO environmentDTO, ApiCallback _callback) throws ApiException Build call for environmentsPost- Parameters:
environmentDTO- Environment object that should to be added (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
environmentsPost
Add an Environment Add a new geteway environment- Parameters:
environmentDTO- Environment object that should to be added (required)- Returns:
- EnvironmentDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
environmentsPostWithHttpInfo
public ApiResponse<EnvironmentDTO> environmentsPostWithHttpInfo(EnvironmentDTO environmentDTO) throws ApiException Add an Environment Add a new geteway environment- Parameters:
environmentDTO- Environment object that should to be added (required)- Returns:
- ApiResponse<EnvironmentDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
environmentsPostAsync
public okhttp3.Call environmentsPostAsync(EnvironmentDTO environmentDTO, ApiCallback<EnvironmentDTO> _callback) throws ApiException Add an Environment (asynchronously) Add a new geteway environment- Parameters:
environmentDTO- Environment object that should to be added (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
-