_propDict)) { return $this->_propDict["enabledTemplateTypes"]; } else { return null; } } /** * Sets the enabledTemplateTypes * * @param string $val The value of the enabledTemplateTypes * * @return GovernanceNotificationPolicy */ public function setEnabledTemplateTypes($val) { $this->_propDict["enabledTemplateTypes"] = $val; return $this; } /** * Gets the notificationTemplates * * @return GovernanceNotificationTemplate|null The notificationTemplates */ public function getNotificationTemplates() { if (array_key_exists("notificationTemplates", $this->_propDict)) { if (is_a($this->_propDict["notificationTemplates"], "\Beta\Microsoft\Graph\Model\GovernanceNotificationTemplate") || is_null($this->_propDict["notificationTemplates"])) { return $this->_propDict["notificationTemplates"]; } else { $this->_propDict["notificationTemplates"] = new GovernanceNotificationTemplate($this->_propDict["notificationTemplates"]); return $this->_propDict["notificationTemplates"]; } } return null; } /** * Sets the notificationTemplates * * @param GovernanceNotificationTemplate $val The value to assign to the notificationTemplates * * @return GovernanceNotificationPolicy The GovernanceNotificationPolicy */ public function setNotificationTemplates($val) { $this->_propDict["notificationTemplates"] = $val; return $this; } }