docs: public void setSlotTypes(java.util.Collection<SlotTypeMetadata> slotTypes) {
          if (slotTypes == null) {
              this.slotTypes = null;
              return;
          }
  
          this.slotTypes = new java.util.ArrayList<SlotTypeMetadata>(slotTypes);
      }