code: @SuppressWarnings("unchecked")
  	private <T extends IEntity> List<T> getEntities(QueryResponse queryResponse) {
  		List<T> entityList = new ArrayList<T>();
  		List<JAXBElement<? extends IntuitEntity>> intuitObjectsList = queryResponse.getIntuitObject();
  		
  		// Iterate the IntuitObjects list in QueryResponse and convert to <T> entity 
  		if (intuitObjectsList != null && !intuitObjectsList.isEmpty()) {
  			Iterator<JAXBElement<? extends IntuitEntity>> itr = intuitObjectsList.iterator();
  			while (itr.hasNext()) {
  				JAXBElement<? extends IntuitEntity> intuitObject = itr.next();
  				entityList.add((T) intuitObject.getValue());
  			}
  		}
  		
  		return entityList;
  	}
docs: Method to parse the QueryResponse and create the entity list
  
  @param queryResponse the query response
  @return List<T> returns list of entity