docs: public void setRepositories(java.util.Collection<RepositoryMetadata> repositories) {
          if (repositories == null) {
              this.repositories = null;
              return;
          }
  
          this.repositories = new java.util.ArrayList<RepositoryMetadata>(repositories);
      }