Package io.gopluslabs.client.api
Class DappControllerApi
- java.lang.Object
-
- io.gopluslabs.client.api.DappControllerApi
-
public class DappControllerApi extends Object
-
-
Constructor Summary
Constructors Constructor Description DappControllerApi()DappControllerApi(ApiClient apiClient)
-
Method Summary
-
-
-
Field Detail
-
apiClient
private ApiClient apiClient
-
-
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 listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getDappInfoUsingGETValidateBeforeCall
private com.squareup.okhttp.Call getDappInfoUsingGETValidateBeforeCall(String authorization, String url, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
- Throws:
ApiException
-
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
-
-