addType('subscriptionId','integer'); } public function jsonSerialize(): array { return [ 'subscriptionId' => $this->subscriptionId, 'pushResource' => $this->pushResource, ]; } }