Class SecretsCompatApi.APIsecretCreateRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.SecretsCompatApi.APIsecretCreateRequest
- Enclosing class:
- SecretsCompatApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for secretCreatecreate(SecretCreate create) Set createexecute()Execute secretCreate requestokhttp3.CallexecuteAsync(ApiCallback<ContainerUpdateLibpod201Response> _callback) Execute secretCreate request (asynchronously)Execute secretCreate request with HTTP info returned
-
Method Details
-
create
Set create- Parameters:
create- attributes for creating a secret (optional)- Returns:
- APIsecretCreateRequest
-
buildCall
Build call for secretCreate- 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 Secret create response - 409 Secret in use - 500 Internal server error -
-
execute
Execute secretCreate request- Returns:
- ContainerUpdateLibpod201Response
- 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 Secret create response - 409 Secret in use - 500 Internal server error -
-
executeWithHttpInfo
Execute secretCreate request with HTTP info returned- Returns:
- ApiResponse<ContainerUpdateLibpod201Response>
- 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 Secret create response - 409 Secret in use - 500 Internal server error -
-
executeAsync
public okhttp3.Call executeAsync(ApiCallback<ContainerUpdateLibpod201Response> _callback) throws ApiException Execute secretCreate 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 Secret create response - 409 Secret in use - 500 Internal server error -
-