Rule

algoliasearch.search.Rule
case class Rule(objectID: String, conditions: Option[Seq[Condition]], consequence: Option[Consequence], description: Option[String], enabled: Option[Boolean], validity: Option[Seq[TimeRange]])

Rule object.

Value parameters

conditions

Conditions that trigger a rule. Some consequences require specific conditions or don't require any condition. For more information, see Conditions.

description

Description of the rule's purpose to help you distinguish between different rules.

enabled

Whether the rule is active.

objectID

Unique identifier of a rule object.

validity

Time periods when the rule is active.

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