public class ParcelsResourceApi extends Object
Constructor and Description |
---|
ParcelsResourceApi() |
ParcelsResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
ApiParcelUsage |
getParcelUsage(String clusterName)
Retrieve details parcel usage information for the cluster.
|
com.squareup.okhttp.Call |
getParcelUsageAsync(String clusterName,
ApiCallback<ApiParcelUsage> callback)
Retrieve details parcel usage information for the cluster.
|
com.squareup.okhttp.Call |
getParcelUsageCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getParcelUsage
|
ApiResponse<ApiParcelUsage> |
getParcelUsageWithHttpInfo(String clusterName)
Retrieve details parcel usage information for the cluster.
|
ApiParcelList |
readParcels(String clusterName,
String view)
Lists all parcels that the cluster has access to.
|
com.squareup.okhttp.Call |
readParcelsAsync(String clusterName,
String view,
ApiCallback<ApiParcelList> callback)
Lists all parcels that the cluster has access to.
|
com.squareup.okhttp.Call |
readParcelsCall(String clusterName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readParcels
|
ApiResponse<ApiParcelList> |
readParcelsWithHttpInfo(String clusterName,
String view)
Lists all parcels that the cluster has access to.
|
void |
setApiClient(ApiClient apiClient) |
public ParcelsResourceApi()
public ParcelsResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getParcelUsageCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiParcelUsage getParcelUsage(String clusterName) throws ApiException
clusterName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiParcelUsage> getParcelUsageWithHttpInfo(String clusterName) throws ApiException
clusterName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getParcelUsageAsync(String clusterName, ApiCallback<ApiParcelUsage> callback) throws ApiException
clusterName
- (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 readParcelsCall(String clusterName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)view
- (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiParcelList readParcels(String clusterName, String view) throws ApiException
clusterName
- (required)view
- (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiParcelList> readParcelsWithHttpInfo(String clusterName, String view) throws ApiException
clusterName
- (required)view
- (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readParcelsAsync(String clusterName, String view, ApiCallback<ApiParcelList> callback) throws ApiException
clusterName
- (required)view
- (optional, default to summary)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 © 2019. All rights reserved.