Module: Ovh::Api::Models::DbaasLogsStreamAlertConditionConstraintTypeEnum

Defined in:
lib/ovh-api/models/dbaas_logs_stream_alert_condition_constraint_type_enum.rb

Constant Summary collapse

MAX =
'MAX'
MEAN =
'MEAN'
MIN =
'MIN'
STDLABEU =
'STDLABEU'
SUM =
'SUM'

Class Method Summary collapse

Class Method Details

.allObject



17
18
19
20
21
22
23
24
25
# File 'lib/ovh-api/models/dbaas_logs_stream_alert_condition_constraint_type_enum.rb', line 17

def self.all
  @all ||= [
    MAX,
    MEAN,
    MIN,
    STDLABEU,
    SUM,
  ].freeze
end

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/ovh-api/models/dbaas_logs_stream_alert_condition_constraint_type_enum.rb', line 27

def self.valid?(value)
  all.include?(value)
end