code: public ApiSuccessResponse stopRecording(String id, StopRecordingBody stopRecordingBody) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = stopRecordingWithHttpInfo(id, stopRecordingBody);
          return resp.getData();
      }
docs: Stop recording a call
  Stop recording the specified call.
  @param id The connection ID of the call. (required)
  @param stopRecordingBody Request parameters. (optional)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body