Module: OpenObserve::Api::Models::DeletionStatus
- Defined in:
- lib/openobserve-api/models/deletion_status.rb
Constant Summary collapse
- NOT_REQUIRED =
'not_required'- PENDING =
'pending'- IN_PROGRESS =
'in_progress'- COMPLETED =
'completed'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/openobserve-api/models/deletion_status.rb', line 17 def self.all @all ||= [ NOT_REQUIRED, PENDING, IN_PROGRESS, COMPLETED, ].freeze end |
.valid?(value) ⇒ Boolean
26 27 28 |
# File 'lib/openobserve-api/models/deletion_status.rb', line 26 def self.valid?(value) all.include?(value) end |