Class: VSphereAutomation::Appliance::ApplianceTechpreviewMonitoringSnmpSNMPv3Notfication
- Inherits:
-
Object
- Object
- VSphereAutomation::Appliance::ApplianceTechpreviewMonitoringSnmpSNMPv3Notfication
- Defined in:
- lib/vsphere-automation-appliance/models/appliance_techpreview_monitoring_snmp_snm_pv3_notfication.rb
Constant Summary collapse
- INFORM =
"inform".freeze
- TRAP =
"trap".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_snm_pv3_notfication.rb', line 21 def build_from_hash(value) constantValues = ApplianceTechpreviewMonitoringSnmpSNMPv3Notfication.constants.select { |c| ApplianceTechpreviewMonitoringSnmpSNMPv3Notfication::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ApplianceTechpreviewMonitoringSnmpSNMPv3Notfication" if constantValues.empty? value end |