_propDict)) { if (is_a($this->_propDict["notificationChannelType"], "\Beta\Microsoft\Graph\DeviceManagementNamespace\Model\NotificationChannelType") || is_null($this->_propDict["notificationChannelType"])) { return $this->_propDict["notificationChannelType"]; } else { $this->_propDict["notificationChannelType"] = new NotificationChannelType($this->_propDict["notificationChannelType"]); return $this->_propDict["notificationChannelType"]; } } return null; } /** * Sets the notificationChannelType * The type of the notification channel. The possible values are: portal, email, phoneCall, sms, unknownFutureValue. * * @param NotificationChannelType $val The value to assign to the notificationChannelType * * @return NotificationChannel The NotificationChannel */ public function setNotificationChannelType($val) { $this->_propDict["notificationChannelType"] = $val; return $this; } /** * Gets the notificationReceivers * Information about the notification receivers, such as locale and contact information. For example, en-us for locale and serena.davis@contoso.com for contact information. * * @return NotificationReceiver|null The notificationReceivers */ public function getNotificationReceivers() { if (array_key_exists("notificationReceivers", $this->_propDict)) { if (is_a($this->_propDict["notificationReceivers"], "\Beta\Microsoft\Graph\DeviceManagementNamespace\Model\NotificationReceiver") || is_null($this->_propDict["notificationReceivers"])) { return $this->_propDict["notificationReceivers"]; } else { $this->_propDict["notificationReceivers"] = new NotificationReceiver($this->_propDict["notificationReceivers"]); return $this->_propDict["notificationReceivers"]; } } return null; } /** * Sets the notificationReceivers * Information about the notification receivers, such as locale and contact information. For example, en-us for locale and serena.davis@contoso.com for contact information. * * @param NotificationReceiver $val The value to assign to the notificationReceivers * * @return NotificationChannel The NotificationChannel */ public function setNotificationReceivers($val) { $this->_propDict["notificationReceivers"] = $val; return $this; } }