code: def _items_to_resources(self, body):
          
          if body is None:
              raise ValueError("You must provide a body when calling methods on a ResourceList")
  
          api_version = body['apiVersion']
          kind = body['kind']
          items = body.get('items')
          if not items:
              raise ValueError('The `items` field in the body must be populated when calling methods on a ResourceList')
  
          if self.kind != kind:
              raise ValueError('Methods on a {} must be called with a body containing the same kind. Receieved {} instead'.format(self.kind, kind))
  
          return {
              'api_version': api_version,
              'kind': kind,
              'items': [self._item_to_resource(item) for item in items]
          }
docs: Takes a List body and return a dictionary with the following structure:
              {
                  'api_version': str,
                  'kind': str,
                  'items': [{
                      'resource': Resource,
                      'name': str,
                      'namespace': str,
                  }]
              }