code: public ApiResponse<ApiSuccessResponse> reconnectWithHttpInfo(String id, ReconnectData reconnectData) throws ApiException {
          com.squareup.okhttp.Call call = reconnectValidateBeforeCall(id, reconnectData, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Reconnect a call
  Reconnect the specified call. This releases the established call and retrieves the held call in one step. This is a quick way to to do [/voice/calls/{id}/release](/reference/workspace/Voice/index.html#release) and [/voice/calls/{id}/retrieve](/reference/workspace/Voice/index.html#retrieve).
  @param id The connection ID of the established call (will be released). (required)
  @param reconnectData  (required)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body