Class NetworksCompatApi.APInetworkCreateRequest

java.lang.Object
io.github.alersrt.pod4j.openapi.api.NetworksCompatApi.APInetworkCreateRequest
Enclosing class:
NetworksCompatApi

public class NetworksCompatApi.APInetworkCreateRequest extends Object
  • Method Details

    • create

      Set create
      Parameters:
      create - attributes for creating a network (optional)
      Returns:
      APInetworkCreateRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      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

      public NetworkCreate201Response execute() throws ApiException
      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

      public ApiResponse<NetworkCreate201Response> executeWithHttpInfo() throws ApiException
      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 -