Auto Generated Code

def nas_auto_qos_set_cos(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        nas = ET.SubElement(config, "nas", xmlns="urn:brocade.com:mgmt:brocade-qos")
        auto_qos = ET.SubElement(nas, "auto-qos")
        set = ET.SubElement(auto_qos, "set")
        cos = ET.SubElement(set, "cos")
        cos.text = kwargs.pop('cos')

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