code: public void setTemplateVars(List<TemplateVar> templateVars) {
  		this.templateVars.clear();
  		if(templateVars != null && !templateVars.isEmpty()) {
  			this.templateVars.addAll(templateVars);
  		}
  	}
docs: Sets the template variables used in this dashboard.
  
  @param templateVars  A list of template variables. If the list is null or empty then existing templateVars are cleared.