public class RegistrationApi
extends java.lang.Object
Constructor and Description |
---|
RegistrationApi() |
RegistrationApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
RegistrationStatusResponse |
registerAccount(java.lang.String xChainId,
java.util.List<AccountRegistration> body)
Account Registration
Register account which used before
|
com.squareup.okhttp.Call |
registerAccountAsync(java.lang.String xChainId,
java.util.List<AccountRegistration> body,
ApiCallback<RegistrationStatusResponse> callback)
Account Registration (asynchronously)
Register account which used before
|
com.squareup.okhttp.Call |
registerAccountCall(java.lang.String xChainId,
java.util.List<AccountRegistration> body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for registerAccount
|
ApiResponse<RegistrationStatusResponse> |
registerAccountWithHttpInfo(java.lang.String xChainId,
java.util.List<AccountRegistration> body)
Account Registration
Register account which used before
|
void |
setApiClient(ApiClient apiClient) |
public RegistrationApi()
public RegistrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call registerAccountCall(java.lang.String xChainId, java.util.List<AccountRegistration> body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic RegistrationStatusResponse registerAccount(java.lang.String xChainId, java.util.List<AccountRegistration> body) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RegistrationStatusResponse> registerAccountWithHttpInfo(java.lang.String xChainId, java.util.List<AccountRegistration> body) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call registerAccountAsync(java.lang.String xChainId, java.util.List<AccountRegistration> body, ApiCallback<RegistrationStatusResponse> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)body
- (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body object