Auto Generated Code

def hardware_flexport_flexport_type_type(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        hardware = ET.SubElement(config, "hardware", xmlns="urn:brocade.com:mgmt:brocade-hardware")
        flexport = ET.SubElement(hardware, "flexport")
        id_key = ET.SubElement(flexport, "id")
        id_key.text = kwargs.pop('id')
        flexport_type = ET.SubElement(flexport, "flexport_type")
        type = ET.SubElement(flexport_type, "type")
        type.text = kwargs.pop('type')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)