code: public EventFilter withEndTimes(DateTimeRange... endTimes) {
          if (this.endTimes == null) {
              setEndTimes(new java.util.ArrayList<DateTimeRange>(endTimes.length));
          }
          for (DateTimeRange ele : endTimes) {
              this.endTimes.add(ele);
          }
          return this;
      }
docs: <p>
  A list of dates and times that the event ended.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEndTimes(java.util.Collection)} or {@link #withEndTimes(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param endTimes
  A list of dates and times that the event ended.
  @return Returns a reference to this object so that method calls can be chained together.