docs: def _parse_properties(response, result_class):
      '''
      Extracts out resource properties and metadata information.
      Ignores the standard http headers.
      '''
  
      if response is None or response.headers is None:
          return None
  
      props = result_class()
      for key, value in response.headers:
          info = GET_PROPERTIES_ATTRIBUTE_MAP.get(key)
          if info:
              if info[0] is None:
                  setattr(props, info[1], info[2](value))
              else:
                  attr = getattr(props, info[0])
                  setattr(attr, info[1], info[2](value))
  
      return props