Class ImagesApi.APIimageImportLibpodRequest

java.lang.Object
io.github.alersrt.pod4j.openapi.api.ImagesApi.APIimageImportLibpodRequest
Enclosing class:
ImagesApi

public class ImagesApi.APIimageImportLibpodRequest extends Object
  • Method Details

    • contentType

      public ImagesApi.APIimageImportLibpodRequest contentType(String contentType)
      Set contentType
      Parameters:
      contentType - (optional, default to application/x-tar)
      Returns:
      APIimageImportLibpodRequest
    • changes

      Set changes
      Parameters:
      changes - Apply the following possible instructions to the created image: CMD | ENTRYPOINT | ENV | EXPOSE | LABEL | STOPSIGNAL | USER | VOLUME | WORKDIR. JSON encoded string (optional)
      Returns:
      APIimageImportLibpodRequest
    • message

      Set message
      Parameters:
      message - Set commit message for imported image (optional)
      Returns:
      APIimageImportLibpodRequest
    • reference

      public ImagesApi.APIimageImportLibpodRequest reference(String reference)
      Set reference
      Parameters:
      reference - Optional Name[:TAG] for the image (optional)
      Returns:
      APIimageImportLibpodRequest
    • url

      Set url
      Parameters:
      url - Load image from the specified URL (optional)
      Returns:
      APIimageImportLibpodRequest
    • buildCall

      public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
      Build call for imageImportLibpod
      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 Image Import -
      400 Bad parameter in request -
      500 Internal server error -
    • execute

      public ImageImportReport execute() throws ApiException
      Execute imageImportLibpod request
      Returns:
      ImageImportReport
      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 Image Import -
      400 Bad parameter in request -
      500 Internal server error -
    • executeWithHttpInfo

      public ApiResponse<ImageImportReport> executeWithHttpInfo() throws ApiException
      Execute imageImportLibpod request with HTTP info returned
      Returns:
      ApiResponse<ImageImportReport>
      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 Image Import -
      400 Bad parameter in request -
      500 Internal server error -
    • executeAsync

      public okhttp3.Call executeAsync(ApiCallback<ImageImportReport> _callback) throws ApiException
      Execute imageImportLibpod 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 Image Import -
      400 Bad parameter in request -
      500 Internal server error -