Class VersionApi

java.lang.Object
io.kubernetes.client.openapi.apis.VersionApi

public class VersionApi extends Object
  • Constructor Details

    • VersionApi

      public VersionApi()
    • VersionApi

      public VersionApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getCodeCall

      public okhttp3.Call getCodeCall(ApiCallback _callback) throws ApiException
      Build call for getCode
      Parameters:
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
      Http Response Details:
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • getCode

      public VersionInfo getCode() throws ApiException
      get the code version
      Returns:
      VersionInfo
      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 OK -
      401 Unauthorized -
    • getCodeWithHttpInfo

      public ApiResponse<VersionInfo> getCodeWithHttpInfo() throws ApiException
      get the code version
      Returns:
      ApiResponse<VersionInfo>
      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 OK -
      401 Unauthorized -
    • getCodeAsync

      public okhttp3.Call getCodeAsync(ApiCallback<VersionInfo> _callback) throws ApiException
      (asynchronously) get the code version
      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 OK -
      401 Unauthorized -