get('status'); } public function getAttemptCount(): int { return (int) $this->get('attemptCount'); } public function isTest(): bool { return (bool) $this->get('isTest'); } public function getTargetType(): string { $value = $this->get('targetType'); if (!is_string($value)) { throw new \UnexpectedValueException(); } return $value; } public function getTargetId(): string { $value = $this->get('targetId'); if (!is_string($value)) { throw new \UnexpectedValueException(); } return $value; } }