class VSphereAutomation::VCenter::VcenterOvfParseIssueCategory
Constants
- ATTRIBUTE_ILLEGAL
- ATTRIBUTE_REQUIRED
- ELEMENT_ILLEGAL
- ELEMENT_REQUIRED
- ELEMENT_UNKNOWN
- EXPORT_ERROR
- GENERATE_ERROR
- INTERNAL_ERROR
- PARSE_ERROR
- SECTION_RESTRICTION
- SECTION_UNKNOWN
- VALIDATION_ERROR
- VALUE_ILLEGAL
Public Instance Methods
build_from_hash(value)
click to toggle source
Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value
# File lib/vsphere-automation-vcenter/models/vcenter_ovf_parse_issue_category.rb, line 32 def build_from_hash(value) constantValues = VcenterOvfParseIssueCategory.constants.select { |c| VcenterOvfParseIssueCategory::const_get(c) == value } raise "Invalid ENUM value #{value} for class #VcenterOvfParseIssueCategory" if constantValues.empty? value end