Class VolumesCompatApi.APIvolumeDeleteRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.VolumesCompatApi.APIvolumeDeleteRequest
- Enclosing class:
- VolumesCompatApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for volumeDeletevoidexecute()Execute volumeDelete requestokhttp3.CallexecuteAsync(ApiCallback<Void> _callback) Execute volumeDelete request (asynchronously)Execute volumeDelete request with HTTP info returnedSet force
-
Method Details
-
force
Set force- Parameters:
force- Force removal of the volume. This actually only causes errors due to the names volume not being found to be suppressed, which is the behaviour Docker implements. (optional)- Returns:
- APIvolumeDeleteRequest
-
buildCall
Build call for volumeDelete- Parameters:
_callback- ApiCallback API callback- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 204 no error - 404 No such volume - 409 Volume is in use and cannot be removed - 500 Internal server error -
-
execute
Execute volumeDelete request- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 204 no error - 404 No such volume - 409 Volume is in use and cannot be removed - 500 Internal server error -
-
executeWithHttpInfo
Execute volumeDelete request with HTTP info returned- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 204 no error - 404 No such volume - 409 Volume is in use and cannot be removed - 500 Internal server error -
-
executeAsync
Execute volumeDelete request (asynchronously)- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 204 no error - 404 No such volume - 409 Volume is in use and cannot be removed - 500 Internal server error -
-