def get_tunnel_statistics_input_filter_type_filter_by_mode_mode(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        get_tunnel_statistics = ET.Element("get_tunnel_statistics")
        config = get_tunnel_statistics
        input = ET.SubElement(get_tunnel_statistics, "input")
        filter_type = ET.SubElement(input, "filter-type")
        filter_by_mode = ET.SubElement(filter_type, "filter-by-mode")
        mode = ET.SubElement(filter_by_mode, "mode")
        mode.text = kwargs.pop('mode')

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