Class ContainersApi.APIplayKubeDownLibpodRequest

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

public class ContainersApi.APIplayKubeDownLibpodRequest extends Object
  • Method Details

    • contentType

      public ContainersApi.APIplayKubeDownLibpodRequest contentType(String contentType)
      Set contentType
      Parameters:
      contentType - (optional, default to plain/text)
      Returns:
      APIplayKubeDownLibpodRequest
    • force

      Set force
      Parameters:
      force - Remove volumes. (optional, default to false)
      Returns:
      APIplayKubeDownLibpodRequest
    • request

      Set request
      Parameters:
      request - Kubernetes YAML file. (optional)
      Returns:
      APIplayKubeDownLibpodRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      Build call for playKubeDownLibpod
      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 PlayKube response -
      500 Internal server error -
    • execute

      public PlayKubeReport execute() throws ApiException
      Execute playKubeDownLibpod request
      Returns:
      PlayKubeReport
      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 PlayKube response -
      500 Internal server error -
    • executeWithHttpInfo

      public ApiResponse<PlayKubeReport> executeWithHttpInfo() throws ApiException
      Execute playKubeDownLibpod request with HTTP info returned
      Returns:
      ApiResponse<PlayKubeReport>
      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 PlayKube response -
      500 Internal server error -
    • executeAsync

      public okhttp3.Call executeAsync(ApiCallback<PlayKubeReport> _callback) throws ApiException
      Execute playKubeDownLibpod 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 PlayKube response -
      500 Internal server error -