code: public static br_vm_template[] get_filtered(nitro_service service, String filter) throws Exception
  	{
  		br_vm_template obj = new br_vm_template();
  		options option = new options();
  		option.set_filter(filter);
  		br_vm_template[] response = (br_vm_template[]) obj.getfiltered(service, option);
  		return response;
  	}
docs: Use this API to fetch filtered set of br_vm_template resources.
  filter string should be in JSON format.eg: "vm_state:DOWN,name:[a-z]+"