setODataType("#microsoft.graph.deviceManagementConfigurationChoiceSettingCollectionInstanceTemplate"); } /** * Gets the allowUnmanagedValues * Linked policy may append values which are not present in the template. * * @return bool|null The allowUnmanagedValues */ public function getAllowUnmanagedValues() { if (array_key_exists("allowUnmanagedValues", $this->_propDict)) { return $this->_propDict["allowUnmanagedValues"]; } else { return null; } } /** * Sets the allowUnmanagedValues * Linked policy may append values which are not present in the template. * * @param bool $val The value of the allowUnmanagedValues * * @return DeviceManagementConfigurationChoiceSettingCollectionInstanceTemplate */ public function setAllowUnmanagedValues($val) { $this->_propDict["allowUnmanagedValues"] = $val; return $this; } /** * Gets the choiceSettingCollectionValueTemplate * Choice Setting Collection Value Template * * @return DeviceManagementConfigurationChoiceSettingValueTemplate|null The choiceSettingCollectionValueTemplate */ public function getChoiceSettingCollectionValueTemplate() { if (array_key_exists("choiceSettingCollectionValueTemplate", $this->_propDict)) { if (is_a($this->_propDict["choiceSettingCollectionValueTemplate"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationChoiceSettingValueTemplate") || is_null($this->_propDict["choiceSettingCollectionValueTemplate"])) { return $this->_propDict["choiceSettingCollectionValueTemplate"]; } else { $this->_propDict["choiceSettingCollectionValueTemplate"] = new DeviceManagementConfigurationChoiceSettingValueTemplate($this->_propDict["choiceSettingCollectionValueTemplate"]); return $this->_propDict["choiceSettingCollectionValueTemplate"]; } } return null; } /** * Sets the choiceSettingCollectionValueTemplate * Choice Setting Collection Value Template * * @param DeviceManagementConfigurationChoiceSettingValueTemplate $val The value to assign to the choiceSettingCollectionValueTemplate * * @return DeviceManagementConfigurationChoiceSettingCollectionInstanceTemplate The DeviceManagementConfigurationChoiceSettingCollectionInstanceTemplate */ public function setChoiceSettingCollectionValueTemplate($val) { $this->_propDict["choiceSettingCollectionValueTemplate"] = $val; return $this; } }