Module: Ovh::Api::Models::DedicatedCloudBackupOfferTypeEnum
- Defined in:
- lib/ovh-api/models/dedicated_cloud_backup_offer_type_enum.rb
Constant Summary collapse
- ADVANCED =
'advanced'- BACKUP =
'backup'- CLASSIC =
'classic'- LEGACY =
'legacy'- PREMIUM =
'premium'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/ovh-api/models/dedicated_cloud_backup_offer_type_enum.rb', line 17 def self.all @all ||= [ ADVANCED, BACKUP, CLASSIC, LEGACY, PREMIUM, ].freeze end |
.valid?(value) ⇒ Boolean
27 28 29 |
# File 'lib/ovh-api/models/dedicated_cloud_backup_offer_type_enum.rb', line 27 def self.valid?(value) all.include?(value) end |