docs: public ListDeviceEventsResult withEvents(DeviceEvent... events) {
          if (this.events == null) {
              setEvents(new java.util.ArrayList<DeviceEvent>(events.length));
          }
          for (DeviceEvent ele : events) {
              this.events.add(ele);
          }
          return this;
      }