code: def get_media_detail_output_interface_interface_identifier_cfp2_cfp2_distance(self, **kwargs):
          
          config = ET.Element("config")
          get_media_detail = ET.Element("get_media_detail")
          config = get_media_detail
          output = ET.SubElement(get_media_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')
          interface_identifier = ET.SubElement(interface, "interface-identifier")
          cfp2 = ET.SubElement(interface_identifier, "cfp2")
          cfp2 = ET.SubElement(cfp2, "cfp2")
          distance = ET.SubElement(cfp2, "distance")
          distance.text = kwargs.pop('distance')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code