code: public ShareDetails withShareErrors(ShareError... shareErrors) {
          if (this.shareErrors == null) {
              setShareErrors(new java.util.ArrayList<ShareError>(shareErrors.length));
          }
          for (ShareError ele : shareErrors) {
              this.shareErrors.add(ele);
          }
          return this;
      }
docs: <p>
  List of errors.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setShareErrors(java.util.Collection)} or {@link #withShareErrors(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param shareErrors
  List of errors.
  @return Returns a reference to this object so that method calls can be chained together.