docs: public void setPermissions(Permissions permissions) {
          if (this.permissions == permissions) {
              return;
          }
  
          this.removeChildObject("permissions");
          this.permissions = permissions;
          this.addChildObject("permissions", permissions);
      }