_propDict)) { if (is_a($this->_propDict["notificationRecipientScope"], "\Microsoft\Graph\Model\AccessReviewNotificationRecipientScope") || is_null($this->_propDict["notificationRecipientScope"])) { return $this->_propDict["notificationRecipientScope"]; } else { $this->_propDict["notificationRecipientScope"] = new AccessReviewNotificationRecipientScope($this->_propDict["notificationRecipientScope"]); return $this->_propDict["notificationRecipientScope"]; } } return null; } /** * Sets the notificationRecipientScope * Determines the recipient of the notification email. * * @param AccessReviewNotificationRecipientScope $val The value to assign to the notificationRecipientScope * * @return AccessReviewNotificationRecipientItem The AccessReviewNotificationRecipientItem */ public function setNotificationRecipientScope($val) { $this->_propDict["notificationRecipientScope"] = $val; return $this; } /** * Gets the notificationTemplateType * Indicates the type of access review email to be sent. Supported template type is CompletedAdditionalRecipients, which sends review completion notifications to the recipients. * * @return string|null The notificationTemplateType */ public function getNotificationTemplateType() { if (array_key_exists("notificationTemplateType", $this->_propDict)) { return $this->_propDict["notificationTemplateType"]; } else { return null; } } /** * Sets the notificationTemplateType * Indicates the type of access review email to be sent. Supported template type is CompletedAdditionalRecipients, which sends review completion notifications to the recipients. * * @param string $val The value of the notificationTemplateType * * @return AccessReviewNotificationRecipientItem */ public function setNotificationTemplateType($val) { $this->_propDict["notificationTemplateType"] = $val; return $this; } }