Class DefaultApi


  • public class DefaultApi
    extends Object
    • Constructor Detail

      • DefaultApi

        public DefaultApi()
      • DefaultApi

        public DefaultApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • keyTemplatesGet

        public List<String> keyTemplatesGet()
                                     throws ApiException
        An Array of key templates according to custom policies This will provide access to key templates define in custom policies
        Returns:
        List<String>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • keyTemplatesGetWithHttpInfo

        public ApiResponse<List<String>> keyTemplatesGetWithHttpInfo()
                                                              throws ApiException
        An Array of key templates according to custom policies This will provide access to key templates define in custom policies
        Returns:
        ApiResponse<List<String>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • keyTemplatesGetAsync

        public com.squareup.okhttp.Call keyTemplatesGetAsync​(ApiCallback<List<String>> callback)
                                                      throws ApiException
        An Array of key templates according to custom policies (asynchronously) This will provide access to key templates define in custom policies
        Parameters:
        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
      • keymanagersGetCall

        public com.squareup.okhttp.Call keymanagersGetCall​(String xWSO2Tenant,
                                                           ProgressResponseBody.ProgressListener progressListener,
                                                           ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                    throws ApiException
        Build call for keymanagersGet
        Parameters:
        xWSO2Tenant - This is used to specify the tenant domain, where the resource need to be retrieved from. (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • keymanagersGet

        public List<KeyManagerDTO> keymanagersGet​(String xWSO2Tenant)
                                           throws ApiException
        An Array of key managers configured this will provide key managers configured
        Parameters:
        xWSO2Tenant - This is used to specify the tenant domain, where the resource need to be retrieved from. (required)
        Returns:
        List<KeyManagerDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • keymanagersGetWithHttpInfo

        public ApiResponse<List<KeyManagerDTO>> keymanagersGetWithHttpInfo​(String xWSO2Tenant)
                                                                    throws ApiException
        An Array of key managers configured this will provide key managers configured
        Parameters:
        xWSO2Tenant - This is used to specify the tenant domain, where the resource need to be retrieved from. (required)
        Returns:
        ApiResponse<List<KeyManagerDTO>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • keymanagersGetAsync

        public com.squareup.okhttp.Call keymanagersGetAsync​(String xWSO2Tenant,
                                                            ApiCallback<List<KeyManagerDTO>> callback)
                                                     throws ApiException
        An Array of key managers configured (asynchronously) this will provide key managers configured
        Parameters:
        xWSO2Tenant - This is used to specify the tenant domain, where the resource need to be retrieved from. (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