File tree 1 file changed +4
-4
lines changed
algoliasearch/src/main/java/com/algolia/model/recommend
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public class TrendingFacetsQuery implements RecommendationsRequest {
24
24
private RecommendSearchParams queryParameters ;
25
25
26
26
@ JsonProperty ("facetName" )
27
- private Object facetName ;
27
+ private String facetName ;
28
28
29
29
@ JsonProperty ("model" )
30
30
private TrendingFacetsModel model ;
@@ -84,14 +84,14 @@ public RecommendSearchParams getQueryParameters() {
84
84
return queryParameters ;
85
85
}
86
86
87
- public TrendingFacetsQuery setFacetName (Object facetName ) {
87
+ public TrendingFacetsQuery setFacetName (String facetName ) {
88
88
this .facetName = facetName ;
89
89
return this ;
90
90
}
91
91
92
92
/** Facet attribute for which to retrieve trending facet values. */
93
- @ javax .annotation .Nullable
94
- public Object getFacetName () {
93
+ @ javax .annotation .Nonnull
94
+ public String getFacetName () {
95
95
return facetName ;
96
96
}
97
97
You can’t perform that action at this time.
0 commit comments