docs: public void setEntitlements(java.util.Collection<Entitlement> entitlements) {
          if (entitlements == null) {
              this.entitlements = null;
              return;
          }
  
          this.entitlements = new java.util.ArrayList<Entitlement>(entitlements);
      }