code: public AssessmentRun withStateChanges(AssessmentRunStateChange... stateChanges) {
          if (this.stateChanges == null) {
              setStateChanges(new java.util.ArrayList<AssessmentRunStateChange>(stateChanges.length));
          }
          for (AssessmentRunStateChange ele : stateChanges) {
              this.stateChanges.add(ele);
          }
          return this;
      }
docs: <p>
  A list of the assessment run state changes.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setStateChanges(java.util.Collection)} or {@link #withStateChanges(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param stateChanges
  A list of the assessment run state changes.
  @return Returns a reference to this object so that method calls can be chained together.