* * See also blog post and Actions overview document.") */ class Action extends Thing implements \JsonSerializable { /** @var Thing|null */ protected $object; /** @var Thing|DeliveryMethod|null */ protected $deliveryMethod; /** @var Thing|null */ protected $instrument; /** @var string|PostalAddress|Place|null */ protected $location; /** @var EntryPoint|null */ protected $target; /** @var Person|Organization|null */ protected $participant; /** @var Person|Organization|null */ protected $agent; /** @var Thing|Comment|null */ protected $resultComment; /** @var Thing|null */ protected $result; /** @var \PSX\DateTime\Time|\DateTime|null */ protected $startTime; /** @var \PSX\DateTime\Time|\DateTime|null */ protected $endTime; /** @var ActionStatusType|null */ protected $actionStatus; /** @var Thing|null */ protected $error; /** * @param Thing|null $object */ public function setObject(?Thing $object): void { $this->object = $object; } /** * @return Thing|null */ public function getObject(): ?Thing { return $this->object; } /** * @param Thing|DeliveryMethod|null $deliveryMethod */ public function setDeliveryMethod($deliveryMethod): void { $this->deliveryMethod = $deliveryMethod; } /** * @return Thing|DeliveryMethod|null */ public function getDeliveryMethod() { return $this->deliveryMethod; } /** * @param Thing|null $instrument */ public function setInstrument(?Thing $instrument): void { $this->instrument = $instrument; } /** * @return Thing|null */ public function getInstrument(): ?Thing { return $this->instrument; } /** * @param string|PostalAddress|Place|null $location */ public function setLocation($location): void { $this->location = $location; } /** * @return string|PostalAddress|Place|null */ public function getLocation() { return $this->location; } /** * @param EntryPoint|null $target */ public function setTarget(?EntryPoint $target): void { $this->target = $target; } /** * @return EntryPoint|null */ public function getTarget(): ?EntryPoint { return $this->target; } /** * @param Person|Organization|null $participant */ public function setParticipant($participant): void { $this->participant = $participant; } /** * @return Person|Organization|null */ public function getParticipant() { return $this->participant; } /** * @param Person|Organization|null $agent */ public function setAgent($agent): void { $this->agent = $agent; } /** * @return Person|Organization|null */ public function getAgent() { return $this->agent; } /** * @param Thing|Comment|null $resultComment */ public function setResultComment($resultComment): void { $this->resultComment = $resultComment; } /** * @return Thing|Comment|null */ public function getResultComment() { return $this->resultComment; } /** * @param Thing|null $result */ public function setResult(?Thing $result): void { $this->result = $result; } /** * @return Thing|null */ public function getResult(): ?Thing { return $this->result; } /** * @param \PSX\DateTime\Time|\DateTime|null $startTime */ public function setStartTime($startTime): void { $this->startTime = $startTime; } /** * @return \PSX\DateTime\Time|\DateTime|null */ public function getStartTime() { return $this->startTime; } /** * @param \PSX\DateTime\Time|\DateTime|null $endTime */ public function setEndTime($endTime): void { $this->endTime = $endTime; } /** * @return \PSX\DateTime\Time|\DateTime|null */ public function getEndTime() { return $this->endTime; } /** * @param ActionStatusType|null $actionStatus */ public function setActionStatus(?ActionStatusType $actionStatus): void { $this->actionStatus = $actionStatus; } /** * @return ActionStatusType|null */ public function getActionStatus(): ?ActionStatusType { return $this->actionStatus; } /** * @param Thing|null $error */ public function setError(?Thing $error): void { $this->error = $error; } /** * @return Thing|null */ public function getError(): ?Thing { return $this->error; } public function jsonSerialize() { return (object) array_merge((array) parent::jsonSerialize(), array_filter(array('object' => $this->object, 'deliveryMethod' => $this->deliveryMethod, 'instrument' => $this->instrument, 'location' => $this->location, 'target' => $this->target, 'participant' => $this->participant, 'agent' => $this->agent, 'resultComment' => $this->resultComment, 'result' => $this->result, 'startTime' => $this->startTime, 'endTime' => $this->endTime, 'actionStatus' => $this->actionStatus, 'error' => $this->error), static function ($value) : bool { return $value !== null; })); } } __halt_compiler();----SIGNATURE:----tj8lDoRpuhr188Adp/WJgAjpy1PKHSFr8NgEXn9RJPniRsGkJXxUcSBXFAax7aatbHsnB7MSyNAyQo0BNwQk8Rcsts4YBFYmQLa2IgEsfOitvdczCGmSsQWgC8KYCB9hCs713rNJBB9dv6TBYFz0BmMnrZujn5Ys+NaC/7Wi1R42nYsdmO2FM1tJ7YBfugHI1NYHYbcqHSrElUcnUwqPDFwwYi43uc+uNAi9pO9pj1eTbPTTdPGuKzKOqIQ3bvoxxEu7OoNqKDHwlohBP/1b/0qQZhWc3uvNvqA7yL9YEnOx6L55ULG+6ofRui6RAS5RDZU1FoOkQmR9/VOK96xw8fcLE4QJ/q7rJA3nrsUg7o++t212ONtFY9713gKGmBQ+jHKZ8kav0ZFCFsV1VSYL+3Zx1KhCPJnZr9CV+KrEss+Yqu5YlcFfYh5FN7etU349DXOz32bnk356YSeETkuMhXa4kDXQfj4RayNw7Y3VmHMe9rgjGL6Or8C+OczUgiCbmcODageQfFkTGv+HU3Y3sf8S5Uc/WxQubK9RVJV5HyVkjTPWuG05emQngj2pwoEyXaSPBnPoTU12ryVmEGvoz6vnZDmpCdqawuukuvuM9Kr/Y8El1mMzKkWjD3rHOtOkPWAZ+AtoR58e1zxzNbcgC0Ewp6eoZcv7rgzUH8kFz1w=----ATTACHMENT:----Njk1MTA1MDkyNTM4NDY0NCA2OTU2NTI2NjY3NTk0MTYyIDkyNTgxOTYyMDAyNTY0NjE=