public class OperatorApi
extends java.lang.Object
Constructor and Description |
---|
OperatorApi() |
OperatorApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
Operator |
getOperator(java.lang.String xChainId,
java.lang.String operatorId)
Search Specific Operator
Search for the settings of a specific operator.
|
com.squareup.okhttp.Call |
getOperatorAsync(java.lang.String xChainId,
java.lang.String operatorId,
ApiCallback<Operator> callback)
Search Specific Operator (asynchronously)
Search for the settings of a specific operator.
|
com.squareup.okhttp.Call |
getOperatorCall(java.lang.String xChainId,
java.lang.String operatorId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getOperator
|
ApiResponse<Operator> |
getOperatorWithHttpInfo(java.lang.String xChainId,
java.lang.String operatorId)
Search Specific Operator
Search for the settings of a specific operator.
|
Operators |
retrieveOperators(java.lang.String xChainId,
java.lang.Long size,
java.lang.String cursor,
java.lang.Long fromTimestamp,
java.lang.Long toTimestamp)
Search List of All Operators
Search for a list of created operators and the settings of each of them.
|
com.squareup.okhttp.Call |
retrieveOperatorsAsync(java.lang.String xChainId,
java.lang.Long size,
java.lang.String cursor,
java.lang.Long fromTimestamp,
java.lang.Long toTimestamp,
ApiCallback<Operators> callback)
Search List of All Operators (asynchronously)
Search for a list of created operators and the settings of each of them.
|
com.squareup.okhttp.Call |
retrieveOperatorsCall(java.lang.String xChainId,
java.lang.Long size,
java.lang.String cursor,
java.lang.Long fromTimestamp,
java.lang.Long toTimestamp,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for retrieveOperators
|
ApiResponse<Operators> |
retrieveOperatorsWithHttpInfo(java.lang.String xChainId,
java.lang.Long size,
java.lang.String cursor,
java.lang.Long fromTimestamp,
java.lang.Long toTimestamp)
Search List of All Operators
Search for a list of created operators and the settings of each of them.
|
void |
setApiClient(ApiClient apiClient) |
public OperatorApi()
public OperatorApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getOperatorCall(java.lang.String xChainId, java.lang.String operatorId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Operator getOperator(java.lang.String xChainId, java.lang.String operatorId) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Operator> getOperatorWithHttpInfo(java.lang.String xChainId, java.lang.String operatorId) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getOperatorAsync(java.lang.String xChainId, java.lang.String operatorId, ApiCallback<Operator> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call retrieveOperatorsCall(java.lang.String xChainId, java.lang.Long size, java.lang.String cursor, java.lang.Long fromTimestamp, java.lang.Long toTimestamp, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)size
- Maximum size of account to search (optional, default to 100)cursor
- Information on last searched cursor (optional)fromTimestamp
- Timestamp of the start time to be searched (in seconds) (optional)toTimestamp
- Timestamp of the end time to be searched (in seconds) (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Operators retrieveOperators(java.lang.String xChainId, java.lang.Long size, java.lang.String cursor, java.lang.Long fromTimestamp, java.lang.Long toTimestamp) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)size
- Maximum size of account to search (optional, default to 100)cursor
- Information on last searched cursor (optional)fromTimestamp
- Timestamp of the start time to be searched (in seconds) (optional)toTimestamp
- Timestamp of the end time to be searched (in seconds) (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Operators> retrieveOperatorsWithHttpInfo(java.lang.String xChainId, java.lang.Long size, java.lang.String cursor, java.lang.Long fromTimestamp, java.lang.Long toTimestamp) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)size
- Maximum size of account to search (optional, default to 100)cursor
- Information on last searched cursor (optional)fromTimestamp
- Timestamp of the start time to be searched (in seconds) (optional)toTimestamp
- Timestamp of the end time to be searched (in seconds) (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call retrieveOperatorsAsync(java.lang.String xChainId, java.lang.Long size, java.lang.String cursor, java.lang.Long fromTimestamp, java.lang.Long toTimestamp, ApiCallback<Operators> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)size
- Maximum size of account to search (optional, default to 100)cursor
- Information on last searched cursor (optional)fromTimestamp
- Timestamp of the start time to be searched (in seconds) (optional)toTimestamp
- Timestamp of the end time to be searched (in seconds) (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