_propDict)) { if (is_a($this->_propDict["deliveryPreference"], "\Microsoft\Graph\Model\NotificationDeliveryPreference") || is_null($this->_propDict["deliveryPreference"])) { return $this->_propDict["deliveryPreference"]; } else { $this->_propDict["deliveryPreference"] = new NotificationDeliveryPreference($this->_propDict["deliveryPreference"]); return $this->_propDict["deliveryPreference"]; } } return null; } /** * Sets the deliveryPreference * Delivery preference. Possible values are: unknown, deliverImmedietly, deliverAfterCampaignEnd, unknownFutureValue. * * @param NotificationDeliveryPreference $val The value to assign to the deliveryPreference * * @return PositiveReinforcementNotification The PositiveReinforcementNotification */ public function setDeliveryPreference($val) { $this->_propDict["deliveryPreference"] = $val; return $this; } }