Class EnvironmentApi


  • public class EnvironmentApi
    extends Object
    • Constructor Detail

      • EnvironmentApi

        public EnvironmentApi()
      • EnvironmentApi

        public EnvironmentApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • 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

        public void environmentsEnvironmentIdDelete​(String environmentId)
                                             throws ApiException
        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

        public EnvironmentDTO environmentsPost​(EnvironmentDTO environmentDTO)
                                        throws ApiException
        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