Class: VSphereAutomation::Appliance::ApplianceTechpreviewMonitoringSnmpSNMPPrivProto
- Inherits:
-
Object
- Object
- VSphereAutomation::Appliance::ApplianceTechpreviewMonitoringSnmpSNMPPrivProto
- Defined in:
- lib/vsphere-automation-appliance/models/appliance_techpreview_monitoring_snmp_snmp_priv_proto.rb
Constant Summary collapse
- AES128 =
"AES128".freeze
- NONE =
"none".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
21 22 23 24 25 |
# File 'lib/vsphere-automation-appliance/models/appliance_techpreview_monitoring_snmp_snmp_priv_proto.rb', line 21 def build_from_hash(value) constantValues = ApplianceTechpreviewMonitoringSnmpSNMPPrivProto.constants.select { |c| ApplianceTechpreviewMonitoringSnmpSNMPPrivProto::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ApplianceTechpreviewMonitoringSnmpSNMPPrivProto" if constantValues.empty? value end |