new module:models/Filter(operator)
Constructs a new Filter
.
Document representing a boolean filter.
Parameters:
Name | Type | Description |
---|---|---|
operator |
module:models/Filter.OperatorEnum | The logical operator the filters are combined with. |
- Source:
Members
(inner) operator :module:models/Filter.OperatorEnum
The logical operator the filters are combined with.
Type:
- module:models/Filter.OperatorEnum
- Source:
Methods
(static) constructFromObject(data, obj) → {module:models/Filter}
Constructs a Filter
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/Filter | Optional instance to populate. |
- Source:
Returns:
The populated Filter
instance.
- Type
- module:models/Filter