code: def get_port_channel_detail_input_request_type_get_next_request_last_aggregator_id(self, **kwargs):
          
          config = ET.Element("config")
          get_port_channel_detail = ET.Element("get_port_channel_detail")
          config = get_port_channel_detail
          input = ET.SubElement(get_port_channel_detail, "input")
          request_type = ET.SubElement(input, "request-type")
          get_next_request = ET.SubElement(request_type, "get-next-request")
          last_aggregator_id = ET.SubElement(get_next_request, "last-aggregator-id")
          last_aggregator_id.text = kwargs.pop('last_aggregator_id')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code