Class VolumesCompatApi.APIvolumeListRequest

java.lang.Object
io.github.alersrt.pod4j.openapi.api.VolumesCompatApi.APIvolumeListRequest
Enclosing class:
VolumesCompatApi

public class VolumesCompatApi.APIvolumeListRequest extends Object
  • Method Details

    • filters

      Set filters
      Parameters:
      filters - JSON encoded value of the filters (a map[string][]string) to process on the volumes list. Available filters: - driver=<volume-driver-name> Matches volumes based on their driver. - label=<key> or label=<key>:<value> Matches volumes based on the presence of a label alone or a label and a value. - name=<volume-name> Matches all of volume name. - `until=<timestamp>` List volumes 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. Note: The boolean `dangling` filter is not yet implemented for this endpoint. (optional)
      Returns:
      APIvolumeListRequest
    • buildCall

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

      public ListResponse execute() throws ApiException
      Execute volumeList request
      Returns:
      ListResponse
      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 Volume List -
      500 Internal server error -
    • executeWithHttpInfo

      public ApiResponse<ListResponse> executeWithHttpInfo() throws ApiException
      Execute volumeList request with HTTP info returned
      Returns:
      ApiResponse<ListResponse>
      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 Volume List -
      500 Internal server error -
    • executeAsync

      public okhttp3.Call executeAsync(ApiCallback<ListResponse> _callback) throws ApiException
      Execute volumeList 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 Volume List -
      500 Internal server error -