Class: module:models/BoolFilter

module:models/BoolFilter(operator)

new module:models/BoolFilter(operator)

Constructs a new BoolFilter. Document representing a boolean filter.

Parameters:
Name Type Description
operator module:models/BoolFilter.OperatorEnum

The logical operator the filters are combined with.

Source:

Members

(readonly) OperatorEnum :String

Allowed values for the operator property.

Type:
  • String
Source:

(inner, constant) and

value: "and"

Source:

(inner) filters :Array.<module:models/Filter>

A list of filters, which are logically combined by an operator.

Type:
Source:

(inner, constant) not

value: "not"

Source:

(inner) operator :module:models/BoolFilter.OperatorEnum

The logical operator the filters are combined with.

Type:
  • module:models/BoolFilter.OperatorEnum
Source:

(inner, constant) or

value: "or"

Source:

Methods

(static) constructFromObject(data, obj) → {module:models/BoolFilter}

Constructs a BoolFilter from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:models/BoolFilter

Optional instance to populate.

Source:
Returns:

The populated BoolFilter instance.

Type
module:models/BoolFilter