Class NetworksCompatApi.APInetworkCreateRequest
java.lang.Object
io.github.alersrt.pod4j.openapi.api.NetworksCompatApi.APInetworkCreateRequest
- Enclosing class:
- NetworksCompatApi
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.CallbuildCall(ApiCallback _callback) Build call for networkCreatecreate(CreateRequest create) Set createexecute()Execute networkCreate requestokhttp3.CallexecuteAsync(ApiCallback<NetworkCreate201Response> _callback) Execute networkCreate request (asynchronously)Execute networkCreate request with HTTP info returned
-
Method Details
-
create
Set create- Parameters:
create- attributes for creating a network (optional)- Returns:
- APInetworkCreateRequest
-
buildCall
Build call for networkCreate- 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 network created - 400 Bad parameter in request - 500 Internal server error -
-
execute
Execute networkCreate request- Returns:
- NetworkCreate201Response
- 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 network created - 400 Bad parameter in request - 500 Internal server error -
-
executeWithHttpInfo
Execute networkCreate request with HTTP info returned- Returns:
- ApiResponse<NetworkCreate201Response>
- 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 network created - 400 Bad parameter in request - 500 Internal server error -
-
executeAsync
public okhttp3.Call executeAsync(ApiCallback<NetworkCreate201Response> _callback) throws ApiException Execute networkCreate 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 network created - 400 Bad parameter in request - 500 Internal server error -
-