Auto Generated Code

def policy_map_clss_shape_shaping_rate(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')
        clss = ET.SubElement(policy_map, "class")
        cl_name_key = ET.SubElement(clss, "cl-name")
        cl_name_key.text = kwargs.pop('cl_name')
        shape = ET.SubElement(clss, "shape")
        shaping_rate = ET.SubElement(shape, "shaping_rate")
        shaping_rate.text = kwargs.pop('shaping_rate')

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