docs: public BatchListIndexResponse withIndexAttachments(IndexAttachment... indexAttachments) {
          if (this.indexAttachments == null) {
              setIndexAttachments(new java.util.ArrayList<IndexAttachment>(indexAttachments.length));
          }
          for (IndexAttachment ele : indexAttachments) {
              this.indexAttachments.add(ele);
          }
          return this;
      }