code: def confd_state_snmp_listen_udp_port(self, **kwargs):
          
          config = ET.Element("config")
          confd_state = ET.SubElement(config, "confd-state", xmlns="http://tail-f.com/yang/confd-monitoring")
          snmp = ET.SubElement(confd_state, "snmp")
          listen = ET.SubElement(snmp, "listen")
          udp = ET.SubElement(listen, "udp")
          port = ET.SubElement(udp, "port")
          port.text = kwargs.pop('port')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code