code: public T firstResult() {
          if (response != null && response.size() > 0) {
              return response.get(0).first();
          }
          return null;
      }
docs: This method returns the first result from the first QueryResult of response, this is equivalent to response.get(0).getResult.get(0).
  @return T value if exists, null otherwise