Class VolumesApi.APIvolumeCreateLibpodRequest

java.lang.Object
io.github.alersrt.pod4j.openapi.api.VolumesApi.APIvolumeCreateLibpodRequest
Enclosing class:
VolumesApi

public class VolumesApi.APIvolumeCreateLibpodRequest extends Object
  • Method Details

    • create

      Set create
      Parameters:
      create - attributes for creating a volume (optional)
      Returns:
      APIvolumeCreateLibpodRequest
    • buildCall

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

      public VolumeConfigResponse execute() throws ApiException
      Execute volumeCreateLibpod request
      Returns:
      VolumeConfigResponse
      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
      201 Volume details -
      500 Internal server error -
    • executeWithHttpInfo

      public ApiResponse<VolumeConfigResponse> executeWithHttpInfo() throws ApiException
      Execute volumeCreateLibpod request with HTTP info returned
      Returns:
      ApiResponse<VolumeConfigResponse>
      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
      201 Volume details -
      500 Internal server error -
    • executeAsync

      public okhttp3.Call executeAsync(ApiCallback<VolumeConfigResponse> _callback) throws ApiException
      Execute volumeCreateLibpod 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
      201 Volume details -
      500 Internal server error -