Class PodsApi.APIpodCreateLibpodRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.PodsApi.APIpodCreateLibpodRequest
- Enclosing class:
- PodsApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for podCreateLibpodcreate(PodSpecGenerator create) Set createexecute()Execute podCreateLibpod requestokhttp3.CallexecuteAsync(ApiCallback<IdResponse> _callback) Execute podCreateLibpod request (asynchronously)Execute podCreateLibpod request with HTTP info returned
-
Method Details
-
create
Set create- Parameters:
create- attributes for creating a pod (optional)- Returns:
- APIpodCreateLibpodRequest
-
buildCall
Build call for podCreateLibpod- 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 - 400 Bad parameter in request - 409 status conflict - 500 Internal server error -
-
execute
Execute podCreateLibpod request- Returns:
- IdResponse
- 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 - 400 Bad parameter in request - 409 status conflict - 500 Internal server error -
-
executeWithHttpInfo
Execute podCreateLibpod request with HTTP info returned- Returns:
- ApiResponse<IdResponse>
- 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 - 400 Bad parameter in request - 409 status conflict - 500 Internal server error -
-
executeAsync
Execute podCreateLibpod 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 - 400 Bad parameter in request - 409 status conflict - 500 Internal server error -
-