docs: public void setCollections(java.util.Collection<CurrentMetricData> collections) {
          if (collections == null) {
              this.collections = null;
              return;
          }
  
          this.collections = new java.util.ArrayList<CurrentMetricData>(collections);
      }