_propDict)) { if (is_a($this->_propDict["daily"], "\Beta\Microsoft\Graph\Model\DailyUserInsightMetricsRoot") || is_null($this->_propDict["daily"])) { return $this->_propDict["daily"]; } else { $this->_propDict["daily"] = new DailyUserInsightMetricsRoot($this->_propDict["daily"]); return $this->_propDict["daily"]; } } return null; } /** * Sets the daily * * @param DailyUserInsightMetricsRoot $val The daily * * @return UserInsightsRoot */ public function setDaily($val) { $this->_propDict["daily"] = $val; return $this; } /** * Gets the monthly * * @return MonthlyUserInsightMetricsRoot|null The monthly */ public function getMonthly() { if (array_key_exists("monthly", $this->_propDict)) { if (is_a($this->_propDict["monthly"], "\Beta\Microsoft\Graph\Model\MonthlyUserInsightMetricsRoot") || is_null($this->_propDict["monthly"])) { return $this->_propDict["monthly"]; } else { $this->_propDict["monthly"] = new MonthlyUserInsightMetricsRoot($this->_propDict["monthly"]); return $this->_propDict["monthly"]; } } return null; } /** * Sets the monthly * * @param MonthlyUserInsightMetricsRoot $val The monthly * * @return UserInsightsRoot */ public function setMonthly($val) { $this->_propDict["monthly"] = $val; return $this; } }