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