SearchRecommendRulesParams class final

Annotations
  • @JsonSerializable()

Constructors

SearchRecommendRulesParams({String? query, String? context, int? page, int? hitsPerPage, bool? enabled, String? filters, List<String>? facets, int? maxValuesPerFacet})
Returns a new SearchRecommendRulesParams instance.
const
SearchRecommendRulesParams.fromJson(Map<String, dynamic> json)
factory

Properties

context String?
Only search for rules with matching context.
final
enabled bool?
Whether to only show rules where the value of their enabled property matches this parameter. If absent, show all rules, regardless of their enabled property.
final
facets List<String>?
Include facets and facet values in the response. Use ['*'] to include all facets.
final
filters String?
Filter expression. This only searches for rules matching the filter expression.
final
hashCode int
The hash code for this object.
no setteroverride
hitsPerPage int?
Maximum number of hits per page.
final
maxValuesPerFacet int?
Maximum number of values to return for each facet.
final
page int?
Requested page of the API response.
final
query String?
Search query.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override