docs: public void setDeletedResources(java.util.Collection<Resource> deletedResources) {
          if (deletedResources == null) {
              this.deletedResources = null;
              return;
          }
  
          this.deletedResources = new java.util.ArrayList<Resource>(deletedResources);
      }