Package com.algolia.model.recommend
Class RecommendRule
java.lang.Object
com.algolia.model.recommend.RecommendRule
Recommend rule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get conditionGet consequenceDescription of the rule's purpose.Indicates whether to enable the rule.Get metadataUnique identifier of a rule object.int
hashCode()
setCondition
(Condition condition) setConsequence
(Consequence consequence) setDescription
(String description) setEnabled
(Boolean enabled) setMetadata
(RuleMetadata metadata) setObjectID
(String objectID) toString()
-
Constructor Details
-
RecommendRule
public RecommendRule()
-
-
Method Details
-
setMetadata
-
getMetadata
Get metadata -
setObjectID
-
getObjectID
Unique identifier of a rule object. -
setCondition
-
getCondition
Get condition -
setConsequence
-
getConsequence
Get consequence -
setDescription
-
getDescription
Description of the rule's purpose. This can be helpful for display in the Algolia dashboard. -
setEnabled
-
getEnabled
Indicates whether to enable the rule. If it isn't enabled, it isn't applied at query time. -
equals
-
hashCode
public int hashCode() -
toString
-