docs: public void setRelatedResources(java.util.Collection<RelatedResource> relatedResources) {
          if (relatedResources == null) {
              this.relatedResources = null;
              return;
          }
  
          this.relatedResources = new java.util.ArrayList<RelatedResource>(relatedResources);
      }