Module: OpenObserve::Api::Models::FolderType
- Defined in:
- lib/openobserve-api/models/folder_type.rb
Constant Summary collapse
- DASHBOARDS =
'dashboards'- ALERTS =
'alerts'- REPORTS =
'reports'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/openobserve-api/models/folder_type.rb', line 16 def self.all @all ||= [ DASHBOARDS, ALERTS, REPORTS, ].freeze end |
.valid?(value) ⇒ Boolean
24 25 26 |
# File 'lib/openobserve-api/models/folder_type.rb', line 24 def self.valid?(value) all.include?(value) end |