@@ -20,18 +20,12 @@ public class TrendingFacetsQuery implements RecommendationsRequest {
2020 @ JsonProperty ("maxRecommendations" )
2121 private Integer maxRecommendations ;
2222
23- @ JsonProperty ("queryParameters" )
24- private RecommendSearchParams queryParameters ;
25-
2623 @ JsonProperty ("facetName" )
2724 private String facetName ;
2825
2926 @ JsonProperty ("model" )
3027 private TrendingFacetsModel model ;
3128
32- @ JsonProperty ("fallbackParameters" )
33- private FallbackParams fallbackParameters ;
34-
3529 public TrendingFacetsQuery setIndexName (String indexName ) {
3630 this .indexName = indexName ;
3731 return this ;
@@ -73,17 +67,6 @@ public Integer getMaxRecommendations() {
7367 return maxRecommendations ;
7468 }
7569
76- public TrendingFacetsQuery setQueryParameters (RecommendSearchParams queryParameters ) {
77- this .queryParameters = queryParameters ;
78- return this ;
79- }
80-
81- /** Get queryParameters */
82- @ javax .annotation .Nullable
83- public RecommendSearchParams getQueryParameters () {
84- return queryParameters ;
85- }
86-
8770 public TrendingFacetsQuery setFacetName (String facetName ) {
8871 this .facetName = facetName ;
8972 return this ;
@@ -106,17 +89,6 @@ public TrendingFacetsModel getModel() {
10689 return model ;
10790 }
10891
109- public TrendingFacetsQuery setFallbackParameters (FallbackParams fallbackParameters ) {
110- this .fallbackParameters = fallbackParameters ;
111- return this ;
112- }
113-
114- /** Get fallbackParameters */
115- @ javax .annotation .Nullable
116- public FallbackParams getFallbackParameters () {
117- return fallbackParameters ;
118- }
119-
12092 @ Override
12193 public boolean equals (Object o ) {
12294 if (this == o ) {
@@ -130,16 +102,14 @@ public boolean equals(Object o) {
130102 Objects .equals (this .indexName , trendingFacetsQuery .indexName ) &&
131103 Objects .equals (this .threshold , trendingFacetsQuery .threshold ) &&
132104 Objects .equals (this .maxRecommendations , trendingFacetsQuery .maxRecommendations ) &&
133- Objects .equals (this .queryParameters , trendingFacetsQuery .queryParameters ) &&
134105 Objects .equals (this .facetName , trendingFacetsQuery .facetName ) &&
135- Objects .equals (this .model , trendingFacetsQuery .model ) &&
136- Objects .equals (this .fallbackParameters , trendingFacetsQuery .fallbackParameters )
106+ Objects .equals (this .model , trendingFacetsQuery .model )
137107 );
138108 }
139109
140110 @ Override
141111 public int hashCode () {
142- return Objects .hash (indexName , threshold , maxRecommendations , queryParameters , facetName , model , fallbackParameters );
112+ return Objects .hash (indexName , threshold , maxRecommendations , facetName , model );
143113 }
144114
145115 @ Override
@@ -149,10 +119,8 @@ public String toString() {
149119 sb .append (" indexName: " ).append (toIndentedString (indexName )).append ("\n " );
150120 sb .append (" threshold: " ).append (toIndentedString (threshold )).append ("\n " );
151121 sb .append (" maxRecommendations: " ).append (toIndentedString (maxRecommendations )).append ("\n " );
152- sb .append (" queryParameters: " ).append (toIndentedString (queryParameters )).append ("\n " );
153122 sb .append (" facetName: " ).append (toIndentedString (facetName )).append ("\n " );
154123 sb .append (" model: " ).append (toIndentedString (model )).append ("\n " );
155- sb .append (" fallbackParameters: " ).append (toIndentedString (fallbackParameters )).append ("\n " );
156124 sb .append ("}" );
157125 return sb .toString ();
158126 }
0 commit comments