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