code: func (obj *UnstructuredList) SetUnstructuredContent(content map[string]interface{}) {
  	obj.Object = content
  	if content == nil {
  		obj.Items = nil
  		return
  	}
  	items, ok := obj.Object["items"].([]interface{})
  	if !ok || items == nil {
  		items = []interface{}{}
  	}
  	unstructuredItems := make([]Unstructured, 0, len(items))
  	newItems := make([]interface{}, 0, len(items))
  	for _, item := range items {
  		o, ok := item.(map[string]interface{})
  		if !ok {
  			continue
  		}
  		unstructuredItems = append(unstructuredItems, Unstructured{Object: o})
  		newItems = append(newItems, o)
  	}
  	obj.Items = unstructuredItems
  	obj.Object["items"] = newItems
  }
docs: // SetUnstructuredContent obeys the conventions of List and keeps Items and the items
  // array in sync. If items is not an array of objects in the incoming map, then any
  // mismatched item will be removed.