entity = $monitoring; $this->newLeadCount = (int) $newLeadCount; $this->updatedLeadCount = (int) $updatedLeadCount; } /** * Returns the Monitoring entity. * * @return Monitoring */ public function getMonitoring() { return $this->entity; } /** * Get count of new leads. */ public function getNewLeadCount(): int { return $this->newLeadCount; } /** * Get count of updated leads. */ public function getUpdatedLeadCount(): int { return $this->updatedLeadCount; } public function getTotalLeadCount(): int { return $this->updatedLeadCount + $this->newLeadCount; } /** * @return array */ public function getLeadIds() { return $this->leadIds; } /** * @return mixed */ public function getIntegrationName() { return $this->integrationName; } }