class VSphereAutomation::VAPI::VapiMetadataMetamodelTypeBuiltinType
Constants
- ANY_ERROR
- BINARY
- BOOLEAN
- DATE_TIME
- DOUBLE
- DYNAMIC_STRUCTURE
- ID
- LONG
- OPAQUE
- SECRET
- STRING
- URI
- VOID
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-vapi/models/vapi_metadata_metamodel_type_builtin_type.rb, line 32 def build_from_hash(value) constantValues = VapiMetadataMetamodelTypeBuiltinType.constants.select { |c| VapiMetadataMetamodelTypeBuiltinType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #VapiMetadataMetamodelTypeBuiltinType" if constantValues.empty? value end