Module: OpenObserve::Api::Models::SearchEventType
- Defined in:
- lib/openobserve-api/models/search_event_type.rb
Constant Summary collapse
- UI =
'ui'- DASHBOARDS =
'dashboards'- REPORTS =
'reports'- ALERTS =
'alerts'- VALUES =
'values'- OTHER =
'other'- RUM =
'rum'- DERIVEDSTREAM =
'derivedstream'- SEARCHJOB =
'searchjob'- DOWNLOAD =
'download'- INSIGHTS =
'insights'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/openobserve-api/models/search_event_type.rb', line 24 def self.all @all ||= [ UI, DASHBOARDS, REPORTS, ALERTS, VALUES, OTHER, RUM, DERIVEDSTREAM, SEARCHJOB, DOWNLOAD, INSIGHTS, ].freeze end |
.valid?(value) ⇒ Boolean
40 41 42 |
# File 'lib/openobserve-api/models/search_event_type.rb', line 40 def self.valid?(value) all.include?(value) end |