$this->getId(), 'scope' => $this->getScope(), 'fileId' => $this->getFileId(), 'name' => $this->getName(), 'value' => $this->conditional_json_decode($this->getValue()), 'lastModified' => $this->getLastModified(), ]; } public function toService() { return [ 'name' => $this->getName(), 'value' => $this->conditional_json_decode($this->getValue()), ]; } public function getUserId() { return $this->userId; } public function setUserId($userId) { $this->userId = $userId; } public function getScope() { return $this->scope; } public function setScope(string $scope) { $this->scope = $scope; } public function getFileId() { return $this->fileId; } public function setFileId(int $fileId) { $this->fileId = $fileId; } public function getName() { return $this->name; } public function setName(string $name) { $this->name = $name; } public function getValue() { return $this->value; } public function setValue(string $value) { $this->value = $value; } public function getLastModified() { return $this->lastModified; } public function setLastModified($lastModified) { $this->lastModified = $lastModified; } }