docs: public void setPermissions(java.util.Collection<String> permissions) {
          if (permissions == null) {
              this.permissions = null;
              return;
          }
  
          this.permissions = new java.util.ArrayList<String>(permissions);
      }