docs: public void setDeviceEvents(java.util.Collection<DeviceEvent> deviceEvents) {
          if (deviceEvents == null) {
              this.deviceEvents = null;
              return;
          }
  
          this.deviceEvents = new java.util.ArrayList<DeviceEvent>(deviceEvents);
      }