Auto Generated Code

def policy_map_class_set_set_cos_tc_traffic_class_el(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        policy_map = ET.SubElement(config, "policy-map", xmlns="urn:brocade.com:mgmt:brocade-policer")
        po_name_key = ET.SubElement(policy_map, "po-name")
        po_name_key.text = kwargs.pop('po_name')
        class_el = ET.SubElement(policy_map, "class")
        cl_name_key = ET.SubElement(class_el, "cl-name")
        cl_name_key.text = kwargs.pop('cl_name')
        set = ET.SubElement(class_el, "set")
        set_cos_tc = ET.SubElement(set, "set_cos_tc")
        traffic_class = ET.SubElement(set_cos_tc, "traffic-class")
        traffic_class.text = kwargs.pop('traffic_class')

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