RecommendedForYouQuery class final
- Annotations
-
- @JsonSerializable()
Constructors
- RecommendedForYouQuery({required String indexName, required double threshold, int? maxRecommendations, RecommendSearchParams? queryParameters, required RecommendedForYouModel model, FallbackParams? fallbackParameters})
-
Returns a new RecommendedForYouQuery instance.
const
-
RecommendedForYouQuery.fromJson(Map<
String, dynamic> json) -
factory
Properties
- fallbackParameters → FallbackParams?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- indexName → String
-
Index name (case-sensitive).
final
- maxRecommendations → int?
-
Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
final
- model → RecommendedForYouModel
-
final
- queryParameters → RecommendSearchParams?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- threshold → double
-
Minimum score a recommendation must have to be included in the response.
final
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