code: public ApiSuccessResponse reconnect(String id, ReconnectData reconnectData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = reconnectWithHttpInfo(id, reconnectData);
          return resp.getData();
      }
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 ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body