created = $created; return $this; } /** * @return \DateTime */ public function getCreated() { return $this->created; } /** * @return integer */ public function getId() { return $this->id; } /** * @param $delivered * * @return $this */ public function setDelivered($delivered) { $this->delivered = (Boolean) $delivered; return $this; } /** * @return Boolean */ public function isDelivered() { return $this->delivered; } /** * @return integer */ public function getDeliveryTries() { return $this->deliveryTries; } /** * @param integer $try * * @return $this */ public function setDeliverTries($try) { $this->deliveryTries = (int) $try; return $this; } /** * @return ApiApplication */ public function getThirdPartyApplication() { return $this->application; } /** * @param ApiApplication $application * * @return $this */ public function setThirdPartyApplication(ApiApplication $application) { $this->application = $application; return $this; } /** * @param WebhookEvent $event * * @return $this */ public function setWebhookEvent(WebhookEvent $event) { $this->event = $event; return $this; } /** * @return WebhookEvent */ public function getWebhookEvent() { return $this->event; } /** * @return WebhookEventPayload */ public function getPayload() { return $this->payload; } }