Class ContainersApi.APIcontainerDeleteLibpodRequest

java.lang.Object
io.github.alersrt.pod4j.openapi.api.ContainersApi.APIcontainerDeleteLibpodRequest
Enclosing class:
ContainersApi

public class ContainersApi.APIcontainerDeleteLibpodRequest extends Object
  • Method Details

    • depend

      Set depend
      Parameters:
      depend - additionally remove containers that depend on the container to be removed (optional)
      Returns:
      APIcontainerDeleteLibpodRequest
    • force

      Set force
      Parameters:
      force - force stop container if running (optional)
      Returns:
      APIcontainerDeleteLibpodRequest
    • ignore

      Set ignore
      Parameters:
      ignore - ignore errors when the container to be removed does not existxo (optional)
      Returns:
      APIcontainerDeleteLibpodRequest
    • timeout

      Set timeout
      Parameters:
      timeout - number of seconds to wait before killing container when force removing (optional, default to 10)
      Returns:
      APIcontainerDeleteLibpodRequest
    • v

      Set v
      Parameters:
      v - delete volumes (optional)
      Returns:
      APIcontainerDeleteLibpodRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      Build call for containerDeleteLibpod
      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
      200 Remove Containers -
      204 no error -
      400 Bad parameter in request -
      404 No such container -
      409 Conflict error in operation -
      500 Internal server error -
    • execute

      public List<LibpodContainersRmReport> execute() throws ApiException
      Execute containerDeleteLibpod request
      Returns:
      List<LibpodContainersRmReport>
      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
      200 Remove Containers -
      204 no error -
      400 Bad parameter in request -
      404 No such container -
      409 Conflict error in operation -
      500 Internal server error -
    • executeWithHttpInfo

      public ApiResponse<List<LibpodContainersRmReport>> executeWithHttpInfo() throws ApiException
      Execute containerDeleteLibpod request with HTTP info returned
      Returns:
      ApiResponse<List<LibpodContainersRmReport>>
      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
      200 Remove Containers -
      204 no error -
      400 Bad parameter in request -
      404 No such container -
      409 Conflict error in operation -
      500 Internal server error -
    • executeAsync

      public okhttp3.Call executeAsync(ApiCallback<List<LibpodContainersRmReport>> _callback) throws ApiException
      Execute containerDeleteLibpod 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
      200 Remove Containers -
      204 no error -
      400 Bad parameter in request -
      404 No such container -
      409 Conflict error in operation -
      500 Internal server error -