_propDict)) { if (is_a($this->_propDict["allowedOptions"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationOptionDefinitionTemplate") || is_null($this->_propDict["allowedOptions"])) { return $this->_propDict["allowedOptions"]; } else { $this->_propDict["allowedOptions"] = new DeviceManagementConfigurationOptionDefinitionTemplate($this->_propDict["allowedOptions"]); return $this->_propDict["allowedOptions"]; } } return null; } /** * Sets the allowedOptions * Choice Setting Allowed Options * * @param DeviceManagementConfigurationOptionDefinitionTemplate $val The value to assign to the allowedOptions * * @return DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate The DeviceManagementConfigurationChoiceSettingValueDefinitionTemplate */ public function setAllowedOptions($val) { $this->_propDict["allowedOptions"] = $val; return $this; } }