code: def get_interface_switchport_output_switchport_interface_name(self, **kwargs):
          
          config = ET.Element("config")
          get_interface_switchport = ET.Element("get_interface_switchport")
          config = get_interface_switchport
          output = ET.SubElement(get_interface_switchport, "output")
          switchport = ET.SubElement(output, "switchport")
          interface_type_key = ET.SubElement(switchport, "interface-type")
          interface_type_key.text = kwargs.pop('interface_type')
          interface_name = ET.SubElement(switchport, "interface-name")
          interface_name.text = kwargs.pop('interface_name')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code