code: def confd_state_internal_callpoints_typepoint_registration_type_range_range_daemon_error(self, **kwargs):
          
          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")
          callpoints = ET.SubElement(internal, "callpoints")
          typepoint = ET.SubElement(callpoints, "typepoint")
          id_key = ET.SubElement(typepoint, "id")
          id_key.text = kwargs.pop('id')
          registration_type = ET.SubElement(typepoint, "registration-type")
          range = ET.SubElement(registration_type, "range")
          range = ET.SubElement(range, "range")
          daemon = ET.SubElement(range, "daemon")
          error = ET.SubElement(daemon, "error")
          error.text = kwargs.pop('error')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code