public class ConnectionsApi extends Object
| Constructor and Description |
|---|
ConnectionsApi() |
ConnectionsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
Block |
blockGet(Integer connectionId,
Integer blockId)
Gets the block matching a specific block ID.
|
com.squareup.okhttp.Call |
blockGetAsync(Integer connectionId,
Integer blockId,
ApiCallback<Block> callback)
(asynchronously)
Gets the block matching a specific block ID.
|
com.squareup.okhttp.Call |
blockGetCall(Integer connectionId,
Integer blockId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for blockGet
|
ApiResponse<Block> |
blockGetWithHttpInfo(Integer connectionId,
Integer blockId)
Gets the block matching a specific block ID.
|
BlockList |
blocksGet(Integer connectionID,
Integer top,
Integer skip)
Lists the blocks for a connected blockchain network.
|
com.squareup.okhttp.Call |
blocksGetAsync(Integer connectionID,
Integer top,
Integer skip,
ApiCallback<BlockList> callback)
(asynchronously)
Lists the blocks for a connected blockchain network.
|
com.squareup.okhttp.Call |
blocksGetCall(Integer connectionID,
Integer top,
Integer skip,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for blocksGet
|
ApiResponse<BlockList> |
blocksGetWithHttpInfo(Integer connectionID,
Integer top,
Integer skip)
Lists the blocks for a connected blockchain network.
|
Connection |
connectionGet(Integer connectionID)
Gets the connected blockchain network matching a specific chain instance ID.
|
com.squareup.okhttp.Call |
connectionGetAsync(Integer connectionID,
ApiCallback<Connection> callback)
(asynchronously)
Gets the connected blockchain network matching a specific chain instance ID.
|
com.squareup.okhttp.Call |
connectionGetCall(Integer connectionID,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for connectionGet
|
ApiResponse<Connection> |
connectionGetWithHttpInfo(Integer connectionID)
Gets the connected blockchain network matching a specific chain instance ID.
|
ConnectionList |
connectionsGet(Integer top,
Integer skip)
Lists the connected blockchain networks.
|
com.squareup.okhttp.Call |
connectionsGetAsync(Integer top,
Integer skip,
ApiCallback<ConnectionList> callback)
(asynchronously)
Lists the connected blockchain networks.
|
com.squareup.okhttp.Call |
connectionsGetCall(Integer top,
Integer skip,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for connectionsGet
|
ApiResponse<ConnectionList> |
connectionsGetWithHttpInfo(Integer top,
Integer skip)
Lists the connected blockchain networks.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
Transaction |
transactionGet(Integer connectionId,
Integer transactionId)
Gets the transaction matching a specific transaction ID.
|
com.squareup.okhttp.Call |
transactionGetAsync(Integer connectionId,
Integer transactionId,
ApiCallback<Transaction> callback)
(asynchronously)
Gets the transaction matching a specific transaction ID.
|
com.squareup.okhttp.Call |
transactionGetCall(Integer connectionId,
Integer transactionId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for transactionGet
|
ApiResponse<Transaction> |
transactionGetWithHttpInfo(Integer connectionId,
Integer transactionId)
Gets the transaction matching a specific transaction ID.
|
List<TransactionList> |
transactionsGet(Integer connectionId,
Integer top,
Integer skip)
Lists the transactions for a connected blockchain network.
|
com.squareup.okhttp.Call |
transactionsGetAsync(Integer connectionId,
Integer top,
Integer skip,
ApiCallback<List<TransactionList>> callback)
(asynchronously)
Lists the transactions for a connected blockchain network.
|
com.squareup.okhttp.Call |
transactionsGetCall(Integer connectionId,
Integer top,
Integer skip,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for transactionsGet
|
ApiResponse<List<TransactionList>> |
transactionsGetWithHttpInfo(Integer connectionId,
Integer top,
Integer skip)
Lists the transactions for a connected blockchain network.
|
public ConnectionsApi()
public ConnectionsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call blockGetCall(Integer connectionId, Integer blockId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
connectionId - The connectionId of the block (required)blockId - The id of the block (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Block blockGet(Integer connectionId, Integer blockId) throws ApiException
connectionId - The connectionId of the block (required)blockId - The id of the block (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Block> blockGetWithHttpInfo(Integer connectionId, Integer blockId) throws ApiException
connectionId - The connectionId of the block (required)blockId - The id of the block (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call blockGetAsync(Integer connectionId, Integer blockId, ApiCallback<Block> callback) throws ApiException
connectionId - The connectionId of the block (required)blockId - The id of the block (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 blocksGetCall(Integer connectionID, Integer top, Integer skip, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
connectionID - The id of the connection (required)top - The maximum number of items to return (optional)skip - The number of items to skip before returning (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic BlockList blocksGet(Integer connectionID, Integer top, Integer skip) throws ApiException
connectionID - The id of the connection (required)top - The maximum number of items to return (optional)skip - The number of items to skip before returning (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<BlockList> blocksGetWithHttpInfo(Integer connectionID, Integer top, Integer skip) throws ApiException
connectionID - The id of the connection (required)top - The maximum number of items to return (optional)skip - The number of items to skip before returning (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call blocksGetAsync(Integer connectionID, Integer top, Integer skip, ApiCallback<BlockList> callback) throws ApiException
connectionID - The id of the connection (required)top - The maximum number of items to return (optional)skip - The number of items to skip before returning (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 objectpublic com.squareup.okhttp.Call connectionGetCall(Integer connectionID, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
connectionID - The id of the connection (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Connection connectionGet(Integer connectionID) throws ApiException
connectionID - The id of the connection (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Connection> connectionGetWithHttpInfo(Integer connectionID) throws ApiException
connectionID - The id of the connection (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call connectionGetAsync(Integer connectionID, ApiCallback<Connection> callback) throws ApiException
connectionID - The id of the connection (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 connectionsGetCall(Integer top, Integer skip, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
top - The maximum number of items to return (optional)skip - The number of items to skip before returning (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ConnectionList connectionsGet(Integer top, Integer skip) throws ApiException
top - The maximum number of items to return (optional)skip - The number of items to skip before returning (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ConnectionList> connectionsGetWithHttpInfo(Integer top, Integer skip) throws ApiException
top - The maximum number of items to return (optional)skip - The number of items to skip before returning (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call connectionsGetAsync(Integer top, Integer skip, ApiCallback<ConnectionList> callback) throws ApiException
top - The maximum number of items to return (optional)skip - The number of items to skip before returning (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 objectpublic com.squareup.okhttp.Call transactionGetCall(Integer connectionId, Integer transactionId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
connectionId - The connectionId of the transaction (required)transactionId - The id of the transaction (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Transaction transactionGet(Integer connectionId, Integer transactionId) throws ApiException
connectionId - The connectionId of the transaction (required)transactionId - The id of the transaction (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Transaction> transactionGetWithHttpInfo(Integer connectionId, Integer transactionId) throws ApiException
connectionId - The connectionId of the transaction (required)transactionId - The id of the transaction (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call transactionGetAsync(Integer connectionId, Integer transactionId, ApiCallback<Transaction> callback) throws ApiException
connectionId - The connectionId of the transaction (required)transactionId - The id of the transaction (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 transactionsGetCall(Integer connectionId, Integer top, Integer skip, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
connectionId - The id of the connection (required)top - The maximum number of items to return (optional)skip - The number of items to skip before returning (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List<TransactionList> transactionsGet(Integer connectionId, Integer top, Integer skip) throws ApiException
connectionId - The id of the connection (required)top - The maximum number of items to return (optional)skip - The number of items to skip before returning (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<TransactionList>> transactionsGetWithHttpInfo(Integer connectionId, Integer top, Integer skip) throws ApiException
connectionId - The id of the connection (required)top - The maximum number of items to return (optional)skip - The number of items to skip before returning (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call transactionsGetAsync(Integer connectionId, Integer top, Integer skip, ApiCallback<List<TransactionList>> callback) throws ApiException
connectionId - The id of the connection (required)top - The maximum number of items to return (optional)skip - The number of items to skip before returning (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 objectCopyright © 2018. All rights reserved.