Module: Ovh::Api::Models::CloudShareSnapshotStatusEnum
- Defined in:
- lib/ovh-api/models/cloud_share_snapshot_status_enum.rb
Constant Summary collapse
- AVAILABLE =
'available'- CREATING =
'creating'- DELETING =
'deleting'- ERROR =
'error'- ERROR_DELETING =
'error_deleting'- MANAGE_ERROR =
'manage_error'- MANAGE_STARTING =
'manage_starting'- RESTORING =
'restoring'- UNMANAGE_ERROR =
'unmanage_error'- UNMANAGE_STARTING =
'unmanage_starting'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/ovh-api/models/cloud_share_snapshot_status_enum.rb', line 22 def self.all @all ||= [ AVAILABLE, CREATING, DELETING, ERROR, ERROR_DELETING, MANAGE_ERROR, MANAGE_STARTING, RESTORING, UNMANAGE_ERROR, UNMANAGE_STARTING, ].freeze end |
.valid?(value) ⇒ Boolean
37 38 39 |
# File 'lib/ovh-api/models/cloud_share_snapshot_status_enum.rb', line 37 def self.valid?(value) all.include?(value) end |