code: public ApiResponse<ApiSuccessResponse> redirectWithHttpInfo(String id, RedirectData redirectData) throws ApiException {
          com.squareup.okhttp.Call call = redirectValidateBeforeCall(id, redirectData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Redirect a call
  Redirect a call to the specified destination.
  @param id The connection ID of the current call to redirect. (required)
  @param redirectData  (required)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body