code: def _ConvertEnumType(self, enumType):
        
        if enumType:
           vmodlName = enumType.name
           wsdlName = enumType.wsdlName
           version = enumType.version
           values = enumType.value
           enumType = (vmodlName, wsdlName, version, values)
        else:
           enumType = None
        return enumType
docs: Convert vmodl.reflect.DynamicTypeManager.EnumTypeInfo to pyVmomi enum
        type definition