Class DappControllerApi


  • public class DappControllerApi
    extends Object
    • Constructor Detail

      • DappControllerApi

        public DappControllerApi()
      • DappControllerApi

        public DappControllerApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getDappInfoUsingGETCall

        public com.squareup.okhttp.Call getDappInfoUsingGETCall​(String authorization,
                                                                String url,
                                                                ProgressResponseBody.ProgressListener progressListener,
                                                                ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                         throws ApiException
        Build call for getDappInfoUsingGET
        Parameters:
        authorization - Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
        url - Url or domain (optional)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDappInfoUsingGET

        public ResponseWrapperDappContractSecurityResponse getDappInfoUsingGET​(String authorization,
                                                                               String url)
                                                                        throws ApiException
        Check risk of dapp through URL
        Parameters:
        authorization - Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
        url - Url or domain (optional)
        Returns:
        ResponseWrapperDappContractSecurityResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDappInfoUsingGETWithHttpInfo

        public ApiResponse<ResponseWrapperDappContractSecurityResponse> getDappInfoUsingGETWithHttpInfo​(String authorization,
                                                                                                        String url)
                                                                                                 throws ApiException
        Check risk of dapp through URL
        Parameters:
        authorization - Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
        url - Url or domain (optional)
        Returns:
        ApiResponse<ResponseWrapperDappContractSecurityResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDappInfoUsingGETAsync

        public com.squareup.okhttp.Call getDappInfoUsingGETAsync​(String authorization,
                                                                 String url,
                                                                 ApiCallback<ResponseWrapperDappContractSecurityResponse> callback)
                                                          throws ApiException
        Check risk of dapp through URL (asynchronously)
        Parameters:
        authorization - Authorization (test: Bearer 81|9ihH8JzEuFu4MQ9DjWmH5WrNCPW...) (optional)
        url - Url or domain (optional)
        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