Module: Ovh::Api::Models::ServiceResourceStateEnum
- Defined in:
- lib/ovh-api/models/service_resource_state_enum.rb
Constant Summary collapse
- DELETED =
'deleted'- DELETING =
'deleting'- OK =
'ok'- OPENING =
'opening'- SUSPENDED =
'suspended'- SUSPENDING =
'suspending'- TO_DELETE =
'toDelete'- TO_OPEN =
'toOpen'- TO_SUSPEND =
'toSuspend'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/ovh-api/models/service_resource_state_enum.rb', line 21 def self.all @all ||= [ DELETED, DELETING, OK, OPENING, SUSPENDED, SUSPENDING, TO_DELETE, TO_OPEN, TO_SUSPEND, ].freeze end |
.valid?(value) ⇒ Boolean
35 36 37 |
# File 'lib/ovh-api/models/service_resource_state_enum.rb', line 35 def self.valid?(value) all.include?(value) end |