Class: VSphereAutomation::VCenter::VcenterOvfParseIssueCategory
- Inherits:
-
Object
- Object
- VSphereAutomation::VCenter::VcenterOvfParseIssueCategory
- Defined in:
- lib/vsphere-automation-vcenter/models/vcenter_ovf_parse_issue_category.rb
Constant Summary collapse
- VALUE_ILLEGAL =
"VALUE_ILLEGAL".freeze
- ATTRIBUTE_REQUIRED =
"ATTRIBUTE_REQUIRED".freeze
- ATTRIBUTE_ILLEGAL =
"ATTRIBUTE_ILLEGAL".freeze
- ELEMENT_REQUIRED =
"ELEMENT_REQUIRED".freeze
- ELEMENT_ILLEGAL =
"ELEMENT_ILLEGAL".freeze
- ELEMENT_UNKNOWN =
"ELEMENT_UNKNOWN".freeze
- SECTION_UNKNOWN =
"SECTION_UNKNOWN".freeze
- SECTION_RESTRICTION =
"SECTION_RESTRICTION".freeze
- PARSE_ERROR =
"PARSE_ERROR".freeze
- GENERATE_ERROR =
"GENERATE_ERROR".freeze
- VALIDATION_ERROR =
"VALIDATION_ERROR".freeze
- EXPORT_ERROR =
"EXPORT_ERROR".freeze
- INTERNAL_ERROR =
"INTERNAL_ERROR".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
32 33 34 35 36 |
# 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 |