Module: Ovh::Api::Models::XdslMonitoringNotificationsFrequencyEnum
- Defined in:
- lib/ovh-api/models/xdsl_monitoring_notifications_frequency_enum.rb
Constant Summary collapse
- N1H =
'1h'- N5M =
'5m'- N6H =
'6h'- ONCE =
'once'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/ovh-api/models/xdsl_monitoring_notifications_frequency_enum.rb', line 16 def self.all @all ||= [ N1H, N5M, N6H, ONCE, ].freeze end |
.valid?(value) ⇒ Boolean
25 26 27 |
# File 'lib/ovh-api/models/xdsl_monitoring_notifications_frequency_enum.rb', line 25 def self.valid?(value) all.include?(value) end |