addType('organizationFolderId','integer'); $this->addType('parentResource','integer'); $this->addType('active','bool'); $this->addType('inheritManagers','bool'); $this->addType('lastUpdatedTimestamp','integer'); } abstract public function getType(): string; public function limitedJsonSerialize(): array { return [ 'id' => $this->id, 'parentResource' => $this->parentResource, 'organizationFolderId' => $this->organizationFolderId, 'type' => $this->getType(), 'name' => $this->name, ]; } }