code: public ListAssignmentsForHITResult withAssignments(Assignment... assignments) {
          if (this.assignments == null) {
              setAssignments(new java.util.ArrayList<Assignment>(assignments.length));
          }
          for (Assignment ele : assignments) {
              this.assignments.add(ele);
          }
          return this;
      }
docs: <p>
  The collection of Assignment data structures returned by this call.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAssignments(java.util.Collection)} or {@link #withAssignments(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param assignments
  The collection of Assignment data structures returned by this call.
  @return Returns a reference to this object so that method calls can be chained together.