Auto Generated Code

def confd_state_internal_cdb_client_lock(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        confd_state = ET.SubElement(config, "confd-state", xmlns="http://tail-f.com/yang/confd-monitoring")
        internal = ET.SubElement(confd_state, "internal")
        cdb = ET.SubElement(internal, "cdb")
        client = ET.SubElement(cdb, "client")
        lock = ET.SubElement(client, "lock")
        lock.text = kwargs.pop('lock')

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