docs: public HistoricalMetricResult withCollections(HistoricalMetricData... collections) {
          if (this.collections == null) {
              setCollections(new java.util.ArrayList<HistoricalMetricData>(collections.length));
          }
          for (HistoricalMetricData ele : collections) {
              this.collections.add(ele);
          }
          return this;
      }