docs: public void setNotifications(java.util.Collection<Notification> notifications) {
          if (notifications == null) {
              this.notifications = null;
              return;
          }
  
          this.notifications = new java.util.ArrayList<Notification>(notifications);
      }