code: def _convert_xml_to_retention_policy(xml, retention_policy):
      '''
      <Enabled>true|false</Enabled>
      <Days>number-of-days</Days>
      '''
      # Enabled
      retention_policy.enabled = _bool(xml.find('Enabled').text)
  
      # Days
      days_element = xml.find('Days')
      if days_element is not None:
          retention_policy.days = int(days_element.textf _convert_xml_to_retention_policy(xml, retention_policy):
      '''
      <Enabled>true|false</Enabled>
      <Days>number-of-days</Days>
      '''
      # Enabled
      retention_policy.enabled = _bool(xml.find('Enabled').text)
  
      # Days
      days_element = xml.find('Days')
      if days_element is not None:
          retention_policy.days = int(days_element.text)
docs: <Enabled>true|false</Enabled>
      <Days>number-of-days</Days>