docs: public SegmentGroupList withGroups(SegmentGroup... groups) {
          if (this.groups == null) {
              setGroups(new java.util.ArrayList<SegmentGroup>(groups.length));
          }
          for (SegmentGroup ele : groups) {
              this.groups.add(ele);
          }
          return this;
      }