def firmware_download_input_protocol_type_ftp_protocol_ftp_directory(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        firmware_download = ET.Element("firmware_download")
        config = firmware_download
        input = ET.SubElement(firmware_download, "input")
        protocol_type = ET.SubElement(input, "protocol-type")
        ftp_protocol = ET.SubElement(protocol_type, "ftp-protocol")
        ftp = ET.SubElement(ftp_protocol, "ftp")
        directory = ET.SubElement(ftp, "directory")
        directory.text = kwargs.pop('directory')

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