Class: VSphereAutomation::Appliance::ApplianceRecoveryRestoreJobLocationType
- Inherits:
-
Object
- Object
- VSphereAutomation::Appliance::ApplianceRecoveryRestoreJobLocationType
- Defined in:
- lib/vsphere-automation-appliance/models/appliance_recovery_restore_job_location_type.rb
Constant Summary collapse
- FTP =
"FTP".freeze
- HTTP =
"HTTP".freeze
- FTPS =
"FTPS".freeze
- HTTPS =
"HTTPS".freeze
- SCP =
"SCP".freeze
- NFS =
"NFS".freeze
- SMB =
"SMB".freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
26 27 28 29 30 |
# File 'lib/vsphere-automation-appliance/models/appliance_recovery_restore_job_location_type.rb', line 26 def build_from_hash(value) constantValues = ApplianceRecoveryRestoreJobLocationType.constants.select { |c| ApplianceRecoveryRestoreJobLocationType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ApplianceRecoveryRestoreJobLocationType" if constantValues.empty? value end |