_propDict)) { return $this->_propDict["blockedCount"]; } else { return null; } } /** * Sets the blockedCount * Count of transactions that were blocked. * * @param int $val The value of the blockedCount * * @return TransactionSummary */ public function setBlockedCount($val) { $this->_propDict["blockedCount"] = $val; return $this; } /** * Gets the totalCount * Count of transactions. * * @return int|null The totalCount */ public function getTotalCount() { if (array_key_exists("totalCount", $this->_propDict)) { return $this->_propDict["totalCount"]; } else { return null; } } /** * Sets the totalCount * Count of transactions. * * @param int $val The value of the totalCount * * @return TransactionSummary */ public function setTotalCount($val) { $this->_propDict["totalCount"] = $val; return $this; } /** * Gets the trafficType * Traffic classification. The possible values are: internet, private, microsoft365, all, unknownFutureValue. * * @return TrafficType|null The trafficType */ public function getTrafficType() { if (array_key_exists("trafficType", $this->_propDict)) { if (is_a($this->_propDict["trafficType"], "\Beta\Microsoft\Graph\Networkaccess\Model\TrafficType") || is_null($this->_propDict["trafficType"])) { return $this->_propDict["trafficType"]; } else { $this->_propDict["trafficType"] = new TrafficType($this->_propDict["trafficType"]); return $this->_propDict["trafficType"]; } } return null; } /** * Sets the trafficType * Traffic classification. The possible values are: internet, private, microsoft365, all, unknownFutureValue. * * @param TrafficType $val The value to assign to the trafficType * * @return TransactionSummary The TransactionSummary */ public function setTrafficType($val) { $this->_propDict["trafficType"] = $val; return $this; } }