Class VolumesApi.APIvolumeListLibpodRequest

java.lang.Object
io.github.alersrt.pod4j.openapi.api.VolumesApi.APIvolumeListLibpodRequest
Enclosing class:
VolumesApi

public class VolumesApi.APIvolumeListLibpodRequest 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. - opt=<driver-option> Matches a storage driver options - `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. (optional)
      Returns:
      APIvolumeListLibpodRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      Build call for volumeListLibpod
      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 List<VolumeConfigResponse> execute() throws ApiException
      Execute volumeListLibpod request
      Returns:
      List<VolumeConfigResponse>
      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<List<VolumeConfigResponse>> executeWithHttpInfo() throws ApiException
      Execute volumeListLibpod request with HTTP info returned
      Returns:
      ApiResponse<List<VolumeConfigResponse>>
      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<List<VolumeConfigResponse>> _callback) throws ApiException
      Execute volumeListLibpod 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 -