Package com.algolia.model.recommend
Class BoughtTogetherQuery
java.lang.Object
com.algolia.model.recommend.BoughtTogetherQuery
- All Implemented Interfaces:
RecommendationsRequest
BoughtTogetherQuery
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.algolia.model.recommend.RecommendationsRequest
RecommendationsRequest.Deserializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Index name (case-sensitive).Maximum number of recommendations to retrieve.getModel()
Get modelUnique record identifier.Get queryParametersMinimum score a recommendation must have to be included in the response.int
hashCode()
setIndexName
(String indexName) setMaxRecommendations
(Integer maxRecommendations) setObjectID
(String objectID) setQueryParameters
(RecommendSearchParams queryParameters) setThreshold
(Double threshold) toString()
-
Constructor Details
-
BoughtTogetherQuery
public BoughtTogetherQuery()
-
-
Method Details
-
setIndexName
-
getIndexName
Index name (case-sensitive). -
setThreshold
-
getThreshold
Minimum score a recommendation must have to be included in the response. minimum: 0 maximum: 100 -
setMaxRecommendations
-
getMaxRecommendations
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. minimum: 1 maximum: 1000 -
setQueryParameters
-
getQueryParameters
Get queryParameters -
setModel
-
getModel
Get model -
setObjectID
-
getObjectID
Unique record identifier. -
equals
-
hashCode
public int hashCode() -
toString
-