Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1006 Bytes

FilterExpressions.md

File metadata and controls

26 lines (20 loc) · 1006 Bytes

OneSignal::FilterExpressions

Properties

Name Type Description Notes
field String Name of the field to use as the first operand in the filter expression.
key String If `field` is `tag`, this field is required to specify `key` inside the tags. [optional]
value String Constant value to use as the second operand in the filter expression. This value is required when the relation operator is a binary operator. [optional]
relation String Operator of a filter expression.
operator String Strictly, this must be either `"OR"`, or `"AND"`. It can be used to compose Filters as part of a Filters object. [optional]

Example

require 'onesignal'

instance = OneSignal::FilterExpressions.new(
  field: null,
  key: null,
  value: null,
  relation: null,
  operator: null
)