def monitor_session_span_command_direction(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        monitor = ET.SubElement(config, "monitor", xmlns="urn:brocade.com:mgmt:brocade-span")
        session = ET.SubElement(monitor, "session")
        session_number_key = ET.SubElement(session, "session-number")
        session_number_key.text = kwargs.pop('session_number')
        span_command = ET.SubElement(session, "span-command")
        direction = ET.SubElement(span_command, "direction")
        direction.text = kwargs.pop('direction')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)
Auto Generated Code