Class: VSphereAutomation::VCenter::VcenterVmHardwareAdapterScsiType
- Inherits:
-
Object
- Object
- VSphereAutomation::VCenter::VcenterVmHardwareAdapterScsiType
- Defined in:
- lib/vsphere-automation-vcenter/models/vcenter_vm_hardware_adapter_scsi_type.rb
Constant Summary collapse
- BUSLOGIC =
"BUSLOGIC".freeze
- LSILOGIC =
"LSILOGIC".freeze
- LSILOGICSAS =
"LSILOGICSAS".freeze
- PVSCSI =
"PVSCSI".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
23 24 25 26 27 |
# File 'lib/vsphere-automation-vcenter/models/vcenter_vm_hardware_adapter_scsi_type.rb', line 23 def build_from_hash(value) constantValues = VcenterVmHardwareAdapterScsiType.constants.select { |c| VcenterVmHardwareAdapterScsiType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #VcenterVmHardwareAdapterScsiType" if constantValues.empty? value end |