code: def get_interface_detail_output_interface_line_protocol_state(self, **kwargs):
          
          config = ET.Element("config")
          get_interface_detail = ET.Element("get_interface_detail")
          config = get_interface_detail
          output = ET.SubElement(get_interface_detail, "output")
          interface = ET.SubElement(output, "interface")
          interface_type_key = ET.SubElement(interface, "interface-type")
          interface_type_key.text = kwargs.pop('interface_type')
          interface_name_key = ET.SubElement(interface, "interface-name")
          interface_name_key.text = kwargs.pop('interface_name')
          line_protocol_state = ET.SubElement(interface, "line-protocol-state")
          line_protocol_state.text = kwargs.pop('line_protocol_state')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code