Writes the managed object on the terminal in form of key value pairs.

def WriteObject(moList):
	""" Writes the managed object on the terminal in form of key value pairs. """
	from Ucs import Dn
	from UcsHandle import UcsMoDiff

	tabsize = 8
	if (isinstance(moList, _GenericMO) == True):
		print str(moList)
	elif (isinstance(moList, ExternalMethod) == True):
		if (hasattr(moList, "OutConfigs") == True):
			for child in moList.OutConfigs.GetChild():
				if (isinstance(child, ManagedObject) == True):
					WriteObject(child)
	elif (isinstance(moList, ManagedObject) == True):
		print str(_write_mo(moList))
	elif ((isinstance(moList, list) == True) and (len(moList) > 0)):
		if (isinstance(moList[0], UcsMoDiff)):
			print "Dn".ljust(tabsize * 10), "InputObject".ljust(tabsize * 4), "SideIndicator".ljust(
				tabsize * 3), "DiffProperty"
			print "--".ljust(tabsize * 10), "-----------".ljust(tabsize * 4), "-------------".ljust(
				tabsize * 3), "------------"
		for mo in moList:
			if (isinstance(mo, ManagedObject) == True):
				print str(_write_mo(mo))
			elif (isinstance(mo, Dn) == True):
				print mo.getattr("value")
			elif (isinstance(mo, UcsMoDiff) == True):
				WriteMoDiff(mo)