Class VolumesCompatApi.APIvolumeCreateRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.VolumesCompatApi.APIvolumeCreateRequest
- Enclosing class:
- VolumesCompatApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for volumeCreatecreate(VolumeCreate create) Set createexecute()Execute volumeCreate requestokhttp3.CallexecuteAsync(ApiCallback<Volume> _callback) Execute volumeCreate request (asynchronously)Execute volumeCreate request with HTTP info returned
-
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
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
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
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
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 -
-