Class RelatedProductsQuery
- java.lang.Object
-
- com.algolia.search.models.recommend.RelatedProductsQuery
-
public class RelatedProductsQuery extends Object
-
-
Constructor Summary
Constructors Constructor Description RelatedProductsQuery(String indexName, String objectID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuerygetFallbackParameters()StringgetIndexName()IntegergetMaxRecommendations()StringgetModel()StringgetObjectID()QuerygetQueryParameters()IntegergetThreshold()RelatedProductsQuerysetFallbackParameters(Query fallbackParameters)RelatedProductsQuerysetMaxRecommendations(Integer maxRecommendations)com.algolia.search.models.recommend.RecommendationsOptionssetObjectID(String objectID)RelatedProductsQuerysetQueryParameters(Query queryParameters)RelatedProductsQuerysetThreshold(Integer threshold)
-
-
-
Method Detail
-
getIndexName
public String getIndexName()
-
getModel
public String getModel()
-
getObjectID
public String getObjectID()
-
setObjectID
public com.algolia.search.models.recommend.RecommendationsOptions setObjectID(@Nonnull String objectID)
-
getThreshold
public Integer getThreshold()
-
setThreshold
public RelatedProductsQuery setThreshold(@Nonnull Integer threshold)
-
getMaxRecommendations
public Integer getMaxRecommendations()
-
setMaxRecommendations
public RelatedProductsQuery setMaxRecommendations(Integer maxRecommendations)
-
getQueryParameters
public Query getQueryParameters()
-
setQueryParameters
public RelatedProductsQuery setQueryParameters(@Nonnull Query queryParameters)
-
getFallbackParameters
public Query getFallbackParameters()
-
setFallbackParameters
public RelatedProductsQuery setFallbackParameters(@Nonnull Query fallbackParameters)
-
-