Class NetworksApi.APInetworkPruneLibpodRequest

java.lang.Object
io.github.alersrt.pod4j.openapi.api.NetworksApi.APInetworkPruneLibpodRequest
Enclosing class:
NetworksApi

public class NetworksApi.APInetworkPruneLibpodRequest extends Object
  • Method Details

    • filters

      Set filters
      Parameters:
      filters - Filters to process on the prune list, encoded as JSON (a `map[string][]string`). Available filters: - `until=<timestamp>` Prune networks created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time. - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune networks with (or without, in case `label!=...` is used) the specified labels. (optional)
      Returns:
      APInetworkPruneLibpodRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      Build call for networkPruneLibpod
      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
      200 Network prune -
      500 Internal server error -
    • execute

      public List<NetworkPruneReport> execute() throws ApiException
      Execute networkPruneLibpod request
      Returns:
      List<NetworkPruneReport>
      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
      200 Network prune -
      500 Internal server error -
    • executeWithHttpInfo

      public ApiResponse<List<NetworkPruneReport>> executeWithHttpInfo() throws ApiException
      Execute networkPruneLibpod request with HTTP info returned
      Returns:
      ApiResponse<List<NetworkPruneReport>>
      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
      200 Network prune -
      500 Internal server error -
    • executeAsync

      public okhttp3.Call executeAsync(ApiCallback<List<NetworkPruneReport>> _callback) throws ApiException
      Execute networkPruneLibpod 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
      200 Network prune -
      500 Internal server error -