class RequestResponseOK extends RequestResponse<T> {

    public RequestResponseOK<T> addAllResults(List<T> resultList) {
        ParametersChecker.checkParameter("Result list is a mandatory parameter", resultList);
        results.addAll(resultList);
        hits.setSize(hits.getSize() + resultList.size());
        hits.setTotal(hits.getSize());
        return this;
    }

    public  RequestResponseOK();
    public  RequestResponseOK(JsonNode query);

}