public ApiResponse<V2beta1HorizontalPodAutoscaler> patchNamespacedHorizontalPodAutoscalerStatusWithHttpInfo(String name, String namespace, Object body, String pretty, String dryRun) throws ApiException {
        com.squareup.okhttp.Call call = patchNamespacedHorizontalPodAutoscalerStatusValidateBeforeCall(name, namespace, body, pretty, dryRun, null, null);
        Type localVarReturnType = new TypeToken<V2beta1HorizontalPodAutoscaler>(){}.getType();
        return apiClient.execute(call, localVarReturnType);
    }
public ApiResponse < V2beta1HorizontalPodAutoscaler > patchNamespacedHorizontalPodAutoscalerStatusWithHttpInfo ( String name , String namespace , Object body , String pretty , String dryRun ) throws ApiException { com . squareup . okhttp . Call call = patchNamespacedHorizontalPodAutoscalerStatusValidateBeforeCall ( name , namespace , body , pretty , dryRun , null , null ) ; Type localVarReturnType = new TypeToken < V2beta1HorizontalPodAutoscaler > ( ) { } . getType ( ) ; return apiClient . execute ( call , localVarReturnType ) ; }
partially update status of the specified HorizontalPodAutoscaler
@param name name of the HorizontalPodAutoscaler (required)
@param namespace object name and auth scope, such as for teams and projects (required)
@param body  (required)
@param pretty If &#39;true&#39;, then the output is pretty printed. (optional)
@param dryRun When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional)
@return ApiResponse&lt;V2beta1HorizontalPodAutoscaler&gt;
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body