@@ -25,6 +25,7 @@ class RecommendationsResults extends AbstractModel implements ModelInterface, \A
2525 'aroundLatLng ' => 'string ' ,
2626 'automaticRadius ' => 'string ' ,
2727 'exhaustive ' => '\Algolia\AlgoliaSearch\Model\Recommend\Exhaustive ' ,
28+ 'appliedRules ' => 'object[] ' ,
2829 'exhaustiveFacetsCount ' => 'bool ' ,
2930 'exhaustiveNbHits ' => 'bool ' ,
3031 'exhaustiveTypo ' => 'bool ' ,
@@ -63,6 +64,7 @@ class RecommendationsResults extends AbstractModel implements ModelInterface, \A
6364 'aroundLatLng ' => null ,
6465 'automaticRadius ' => null ,
6566 'exhaustive ' => null ,
67+ 'appliedRules ' => null ,
6668 'exhaustiveFacetsCount ' => null ,
6769 'exhaustiveNbHits ' => null ,
6870 'exhaustiveTypo ' => null ,
@@ -102,6 +104,7 @@ class RecommendationsResults extends AbstractModel implements ModelInterface, \A
102104 'aroundLatLng ' => 'aroundLatLng ' ,
103105 'automaticRadius ' => 'automaticRadius ' ,
104106 'exhaustive ' => 'exhaustive ' ,
107+ 'appliedRules ' => 'appliedRules ' ,
105108 'exhaustiveFacetsCount ' => 'exhaustiveFacetsCount ' ,
106109 'exhaustiveNbHits ' => 'exhaustiveNbHits ' ,
107110 'exhaustiveTypo ' => 'exhaustiveTypo ' ,
@@ -140,6 +143,7 @@ class RecommendationsResults extends AbstractModel implements ModelInterface, \A
140143 'aroundLatLng ' => 'setAroundLatLng ' ,
141144 'automaticRadius ' => 'setAutomaticRadius ' ,
142145 'exhaustive ' => 'setExhaustive ' ,
146+ 'appliedRules ' => 'setAppliedRules ' ,
143147 'exhaustiveFacetsCount ' => 'setExhaustiveFacetsCount ' ,
144148 'exhaustiveNbHits ' => 'setExhaustiveNbHits ' ,
145149 'exhaustiveTypo ' => 'setExhaustiveTypo ' ,
@@ -178,6 +182,7 @@ class RecommendationsResults extends AbstractModel implements ModelInterface, \A
178182 'aroundLatLng ' => 'getAroundLatLng ' ,
179183 'automaticRadius ' => 'getAutomaticRadius ' ,
180184 'exhaustive ' => 'getExhaustive ' ,
185+ 'appliedRules ' => 'getAppliedRules ' ,
181186 'exhaustiveFacetsCount ' => 'getExhaustiveFacetsCount ' ,
182187 'exhaustiveNbHits ' => 'getExhaustiveNbHits ' ,
183188 'exhaustiveTypo ' => 'getExhaustiveTypo ' ,
@@ -234,6 +239,9 @@ public function __construct(?array $data = null)
234239 if (isset ($ data ['exhaustive ' ])) {
235240 $ this ->container ['exhaustive ' ] = $ data ['exhaustive ' ];
236241 }
242+ if (isset ($ data ['appliedRules ' ])) {
243+ $ this ->container ['appliedRules ' ] = $ data ['appliedRules ' ];
244+ }
237245 if (isset ($ data ['exhaustiveFacetsCount ' ])) {
238246 $ this ->container ['exhaustiveFacetsCount ' ] = $ data ['exhaustiveFacetsCount ' ];
239247 }
@@ -512,6 +520,30 @@ public function setExhaustive($exhaustive)
512520 return $ this ;
513521 }
514522
523+ /**
524+ * Gets appliedRules.
525+ *
526+ * @return null|object[]
527+ */
528+ public function getAppliedRules ()
529+ {
530+ return $ this ->container ['appliedRules ' ] ?? null ;
531+ }
532+
533+ /**
534+ * Sets appliedRules.
535+ *
536+ * @param null|object[] $appliedRules rules applied to the query
537+ *
538+ * @return self
539+ */
540+ public function setAppliedRules ($ appliedRules )
541+ {
542+ $ this ->container ['appliedRules ' ] = $ appliedRules ;
543+
544+ return $ this ;
545+ }
546+
515547 /**
516548 * Gets exhaustiveFacetsCount.
517549 *
0 commit comments