_propDict)) { if (is_a($this->_propDict["decisionMakerCriteria"], "\Beta\Microsoft\Graph\Model\GovernanceCriteria") || is_null($this->_propDict["decisionMakerCriteria"])) { return $this->_propDict["decisionMakerCriteria"]; } else { $this->_propDict["decisionMakerCriteria"] = new GovernanceCriteria($this->_propDict["decisionMakerCriteria"]); return $this->_propDict["decisionMakerCriteria"]; } } return null; } /** * Sets the decisionMakerCriteria * * @param GovernanceCriteria $val The value to assign to the decisionMakerCriteria * * @return GovernancePolicy The GovernancePolicy */ public function setDecisionMakerCriteria($val) { $this->_propDict["decisionMakerCriteria"] = $val; return $this; } /** * Gets the notificationPolicy * * @return GovernanceNotificationPolicy|null The notificationPolicy */ public function getNotificationPolicy() { if (array_key_exists("notificationPolicy", $this->_propDict)) { if (is_a($this->_propDict["notificationPolicy"], "\Beta\Microsoft\Graph\Model\GovernanceNotificationPolicy") || is_null($this->_propDict["notificationPolicy"])) { return $this->_propDict["notificationPolicy"]; } else { $this->_propDict["notificationPolicy"] = new GovernanceNotificationPolicy($this->_propDict["notificationPolicy"]); return $this->_propDict["notificationPolicy"]; } } return null; } /** * Sets the notificationPolicy * * @param GovernanceNotificationPolicy $val The value to assign to the notificationPolicy * * @return GovernancePolicy The GovernancePolicy */ public function setNotificationPolicy($val) { $this->_propDict["notificationPolicy"] = $val; return $this; } }