setODataType("#microsoft.graph.noTrainingNotificationSetting"); } /** * Gets the simulationNotification * The notification for the user who is part of the simulation. * * @return SimulationNotification|null The simulationNotification */ public function getSimulationNotification() { if (array_key_exists("simulationNotification", $this->_propDict)) { if (is_a($this->_propDict["simulationNotification"], "\Microsoft\Graph\Model\SimulationNotification") || is_null($this->_propDict["simulationNotification"])) { return $this->_propDict["simulationNotification"]; } else { $this->_propDict["simulationNotification"] = new SimulationNotification($this->_propDict["simulationNotification"]); return $this->_propDict["simulationNotification"]; } } return null; } /** * Sets the simulationNotification * The notification for the user who is part of the simulation. * * @param SimulationNotification $val The value to assign to the simulationNotification * * @return NoTrainingNotificationSetting The NoTrainingNotificationSetting */ public function setSimulationNotification($val) { $this->_propDict["simulationNotification"] = $val; return $this; } }