RuleResponse

algoliasearch.recommend.RuleResponse
case class RuleResponse(metadata: Option[RuleResponseMetadata], objectID: String, conditions: Option[Seq[Condition]], consequence: Option[Consequence], description: Option[String], enabled: Option[Boolean])

Rule object.

Value parameters

conditions

Conditions required to activate a rule. You can use up to 25 conditions per rule.

description

Description of the rule's purpose. This can be helpful for display in the Algolia dashboard.

enabled

Indicates whether to enable the rule. If it isn't enabled, it isn't applied at query time.

objectID

Unique identifier for a rule object.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product