_propDict)) { return $this->_propDict["defaultLanguage"]; } else { return null; } } /** * Sets the defaultLanguage * The default language for the end user notification. * * @param string $val The value of the defaultLanguage * * @return BaseEndUserNotification */ public function setDefaultLanguage($val) { $this->_propDict["defaultLanguage"] = $val; return $this; } /** * Gets the endUserNotification * * @return EndUserNotification|null The endUserNotification */ public function getEndUserNotification() { if (array_key_exists("endUserNotification", $this->_propDict)) { if (is_a($this->_propDict["endUserNotification"], "\Microsoft\Graph\Model\EndUserNotification") || is_null($this->_propDict["endUserNotification"])) { return $this->_propDict["endUserNotification"]; } else { $this->_propDict["endUserNotification"] = new EndUserNotification($this->_propDict["endUserNotification"]); return $this->_propDict["endUserNotification"]; } } return null; } /** * Sets the endUserNotification * * @param EndUserNotification $val The value to assign to the endUserNotification * * @return BaseEndUserNotification The BaseEndUserNotification */ public function setEndUserNotification($val) { $this->_propDict["endUserNotification"] = $val; return $this; } }