*/ protected array $objectIds; /** @var list */ protected array $tags; /** * constructor * * @param list $objectIds * @param list $tags * @since 32.0.0 */ public function __construct(string $objectType, array $objectIds, array $tags) { parent::__construct(); $this->objectType = $objectType; $this->objectIds = $objectIds; $this->tags = $tags; } /** * @since 32.0.0 */ public function getObjectType(): string { return $this->objectType; } /** * @return list * @since 32.0.0 */ public function getObjectIds(): array { return $this->objectIds; } /** * @return list * @since 32.0.0 */ public function getTags(): array { return $this->tags; } /** * @return array{objectType: string, objectIds: list, tagIds: list} * @since 32.0.0 */ public function getWebhookSerializable(): array { return [ 'objectType' => $this->getObjectType(), 'objectIds' => $this->getObjectIds(), 'tagIds' => $this->getTags(), ]; } }