_propDict)) { if (is_a($this->_propDict["settingType"], "\Microsoft\Graph\Model\TrainingSettingType") || is_null($this->_propDict["settingType"])) { return $this->_propDict["settingType"]; } else { $this->_propDict["settingType"] = new TrainingSettingType($this->_propDict["settingType"]); return $this->_propDict["settingType"]; } } return null; } /** * Sets the settingType * Type of setting. Possible values are: microsoftCustom, microsoftManaged, noTraining, custom, unknownFutureValue. * * @param TrainingSettingType $val The value to assign to the settingType * * @return TrainingSetting The TrainingSetting */ public function setSettingType($val) { $this->_propDict["settingType"] = $val; return $this; } }