docs: public void setResourceShareInvitations(java.util.Collection<ResourceShareInvitation> resourceShareInvitations) {
          if (resourceShareInvitations == null) {
              this.resourceShareInvitations = null;
              return;
          }
  
          this.resourceShareInvitations = new java.util.ArrayList<ResourceShareInvitation>(resourceShareInvitations);
      }