Class VolumesCompatApi.APIvolumeCreateRequest

java.lang.Object
io.github.alersrt.pod4j.openapi.api.VolumesCompatApi.APIvolumeCreateRequest
Enclosing class:
VolumesCompatApi

public class VolumesCompatApi.APIvolumeCreateRequest extends Object
  • Method Details

    • create

      Set create
      Parameters:
      create - attributes for creating a volume. Note: If a volume by the same name exists, a 201 response with that volume's information will be generated. (optional)
      Returns:
      APIvolumeCreateRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      Build call for volumeCreate
      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 This response definition is used for both the create and inspect endpoints -
      500 Internal server error -
    • execute

      public Volume execute() throws ApiException
      Execute volumeCreate request
      Returns:
      Volume
      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 This response definition is used for both the create and inspect endpoints -
      500 Internal server error -
    • executeWithHttpInfo

      public ApiResponse<Volume> executeWithHttpInfo() throws ApiException
      Execute volumeCreate request with HTTP info returned
      Returns:
      ApiResponse<Volume>
      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 This response definition is used for both the create and inspect endpoints -
      500 Internal server error -
    • executeAsync

      public okhttp3.Call executeAsync(ApiCallback<Volume> _callback) throws ApiException
      Execute volumeCreate 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 This response definition is used for both the create and inspect endpoints -
      500 Internal server error -