public class ParcelResourceApi extends Object
Constructor and Description |
---|
ParcelResourceApi() |
ParcelResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiCommand |
activateCommand(String clusterName,
String product,
String version)
A synchronous command that activates the parcel on the cluster.
|
com.squareup.okhttp.Call |
activateCommandAsync(String clusterName,
String product,
String version,
ApiCallback<ApiCommand> callback)
A synchronous command that activates the parcel on the cluster.
|
com.squareup.okhttp.Call |
activateCommandCall(String clusterName,
String product,
String version,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for activateCommand
|
ApiResponse<ApiCommand> |
activateCommandWithHttpInfo(String clusterName,
String product,
String version)
A synchronous command that activates the parcel on the cluster.
|
ApiCommand |
cancelDistributionCommand(String clusterName,
String product,
String version)
A synchronous command that cancels the parcel distribution.
|
com.squareup.okhttp.Call |
cancelDistributionCommandAsync(String clusterName,
String product,
String version,
ApiCallback<ApiCommand> callback)
A synchronous command that cancels the parcel distribution.
|
com.squareup.okhttp.Call |
cancelDistributionCommandCall(String clusterName,
String product,
String version,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for cancelDistributionCommand
|
ApiResponse<ApiCommand> |
cancelDistributionCommandWithHttpInfo(String clusterName,
String product,
String version)
A synchronous command that cancels the parcel distribution.
|
ApiCommand |
cancelDownloadCommand(String clusterName,
String product,
String version)
A synchronous command that cancels the parcel download.
|
com.squareup.okhttp.Call |
cancelDownloadCommandAsync(String clusterName,
String product,
String version,
ApiCallback<ApiCommand> callback)
A synchronous command that cancels the parcel download.
|
com.squareup.okhttp.Call |
cancelDownloadCommandCall(String clusterName,
String product,
String version,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for cancelDownloadCommand
|
ApiResponse<ApiCommand> |
cancelDownloadCommandWithHttpInfo(String clusterName,
String product,
String version)
A synchronous command that cancels the parcel download.
|
ApiCommand |
deactivateCommand(String clusterName,
String product,
String version)
A synchronous command that deactivates the parcel on the cluster.
|
com.squareup.okhttp.Call |
deactivateCommandAsync(String clusterName,
String product,
String version,
ApiCallback<ApiCommand> callback)
A synchronous command that deactivates the parcel on the cluster.
|
com.squareup.okhttp.Call |
deactivateCommandCall(String clusterName,
String product,
String version,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deactivateCommand
|
ApiResponse<ApiCommand> |
deactivateCommandWithHttpInfo(String clusterName,
String product,
String version)
A synchronous command that deactivates the parcel on the cluster.
|
ApiClient |
getApiClient() |
ApiParcel |
readParcel(String clusterName,
String product,
String version)
Retrieves detailed information about a parcel.
|
com.squareup.okhttp.Call |
readParcelAsync(String clusterName,
String product,
String version,
ApiCallback<ApiParcel> callback)
Retrieves detailed information about a parcel.
|
com.squareup.okhttp.Call |
readParcelCall(String clusterName,
String product,
String version,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readParcel
|
ApiResponse<ApiParcel> |
readParcelWithHttpInfo(String clusterName,
String product,
String version)
Retrieves detailed information about a parcel.
|
ApiCommand |
removeDownloadCommand(String clusterName,
String product,
String version)
A synchronous command that removes the downloaded parcel.
|
com.squareup.okhttp.Call |
removeDownloadCommandAsync(String clusterName,
String product,
String version,
ApiCallback<ApiCommand> callback)
A synchronous command that removes the downloaded parcel.
|
com.squareup.okhttp.Call |
removeDownloadCommandCall(String clusterName,
String product,
String version,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for removeDownloadCommand
|
ApiResponse<ApiCommand> |
removeDownloadCommandWithHttpInfo(String clusterName,
String product,
String version)
A synchronous command that removes the downloaded parcel.
|
void |
setApiClient(ApiClient apiClient) |
ApiCommand |
startDistributionCommand(String clusterName,
String product,
String version)
A synchronous command that starts the distribution of the parcel to the cluster.
|
com.squareup.okhttp.Call |
startDistributionCommandAsync(String clusterName,
String product,
String version,
ApiCallback<ApiCommand> callback)
A synchronous command that starts the distribution of the parcel to the cluster.
|
com.squareup.okhttp.Call |
startDistributionCommandCall(String clusterName,
String product,
String version,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for startDistributionCommand
|
ApiResponse<ApiCommand> |
startDistributionCommandWithHttpInfo(String clusterName,
String product,
String version)
A synchronous command that starts the distribution of the parcel to the cluster.
|
ApiCommand |
startDownloadCommand(String clusterName,
String product,
String version)
A synchronous command that starts the parcel download.
|
com.squareup.okhttp.Call |
startDownloadCommandAsync(String clusterName,
String product,
String version,
ApiCallback<ApiCommand> callback)
A synchronous command that starts the parcel download.
|
com.squareup.okhttp.Call |
startDownloadCommandCall(String clusterName,
String product,
String version,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for startDownloadCommand
|
ApiResponse<ApiCommand> |
startDownloadCommandWithHttpInfo(String clusterName,
String product,
String version)
A synchronous command that starts the parcel download.
|
ApiCommand |
startRemovalOfDistributionCommand(String clusterName,
String product,
String version)
A synchronous command that removes the distribution from the hosts in the cluster.
|
com.squareup.okhttp.Call |
startRemovalOfDistributionCommandAsync(String clusterName,
String product,
String version,
ApiCallback<ApiCommand> callback)
A synchronous command that removes the distribution from the hosts in the cluster.
|
com.squareup.okhttp.Call |
startRemovalOfDistributionCommandCall(String clusterName,
String product,
String version,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for startRemovalOfDistributionCommand
|
ApiResponse<ApiCommand> |
startRemovalOfDistributionCommandWithHttpInfo(String clusterName,
String product,
String version)
A synchronous command that removes the distribution from the hosts in the cluster.
|
public ParcelResourceApi()
public ParcelResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call activateCommandCall(String clusterName, String product, String version, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand activateCommand(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> activateCommandWithHttpInfo(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call activateCommandAsync(String clusterName, String product, String version, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (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 cancelDistributionCommandCall(String clusterName, String product, String version, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand cancelDistributionCommand(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> cancelDistributionCommandWithHttpInfo(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call cancelDistributionCommandAsync(String clusterName, String product, String version, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (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 cancelDownloadCommandCall(String clusterName, String product, String version, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand cancelDownloadCommand(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> cancelDownloadCommandWithHttpInfo(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call cancelDownloadCommandAsync(String clusterName, String product, String version, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (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 deactivateCommandCall(String clusterName, String product, String version, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand deactivateCommand(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> deactivateCommandWithHttpInfo(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deactivateCommandAsync(String clusterName, String product, String version, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (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 readParcelCall(String clusterName, String product, String version, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiParcel readParcel(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiParcel> readParcelWithHttpInfo(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readParcelAsync(String clusterName, String product, String version, ApiCallback<ApiParcel> callback) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (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 removeDownloadCommandCall(String clusterName, String product, String version, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand removeDownloadCommand(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> removeDownloadCommandWithHttpInfo(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeDownloadCommandAsync(String clusterName, String product, String version, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (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 startDistributionCommandCall(String clusterName, String product, String version, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand startDistributionCommand(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> startDistributionCommandWithHttpInfo(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call startDistributionCommandAsync(String clusterName, String product, String version, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (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 startDownloadCommandCall(String clusterName, String product, String version, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand startDownloadCommand(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> startDownloadCommandWithHttpInfo(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call startDownloadCommandAsync(String clusterName, String product, String version, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (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 startRemovalOfDistributionCommandCall(String clusterName, String product, String version, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand startRemovalOfDistributionCommand(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> startRemovalOfDistributionCommandWithHttpInfo(String clusterName, String product, String version) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call startRemovalOfDistributionCommandAsync(String clusterName, String product, String version, ApiCallback<ApiCommand> callback) throws ApiException
clusterName
- (required)product
- the product (required)version
- the version (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 objectCopyright © 2019. All rights reserved.