public List<String> getVariables() {
    List<String> variables = new ArrayList<>(this.name.getVariables());
    for (Template template : this.values) {
      variables.addAll(template.getVariables());
    }
    return Collections.unmodifiableList(variables);
  }
Create a new Query Template.

@param name of the query parameter.
@param values for the parameter.
@param collectionFormat to use.
core/src/main/java/feign/template/QueryTemplate.java