Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 657 Bytes

Segment.md

File metadata and controls

22 lines (16 loc) · 657 Bytes

OneSignal::Segment

Properties

Name Type Description Notes
id String UUID of the segment. If left empty, it will be assigned automaticaly. [optional]
name String Name of the segment. You'll see this name on the Web UI.
filters Array<FilterExpressions> Filter or operators the segment will have. For a list of available filters with details, please see Send to Users Based on Filters.

Example

require 'onesignal'

instance = OneSignal::Segment.new(
  id: null,
  name: null,
  filters: null
)