def get_stp_mst_detail_output_msti_port_tx_bpdu_count(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        get_stp_mst_detail = ET.Element("get_stp_mst_detail")
        config = get_stp_mst_detail
        output = ET.SubElement(get_stp_mst_detail, "output")
        msti = ET.SubElement(output, "msti")
        instance_id_key = ET.SubElement(msti, "instance-id")
        instance_id_key.text = kwargs.pop('instance_id')
        port = ET.SubElement(msti, "port")
        tx_bpdu_count = ET.SubElement(port, "tx-bpdu-count")
        tx_bpdu_count.text = kwargs.pop('tx_bpdu_count')

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