setODataType("#microsoft.graph.deviceManagementConfigurationGroupSettingCollectionInstanceTemplate"); } /** * 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 DeviceManagementConfigurationGroupSettingCollectionInstanceTemplate */ public function setAllowUnmanagedValues($val) { $this->_propDict["allowUnmanagedValues"] = $val; return $this; } /** * Gets the groupSettingCollectionValueTemplate * Group Setting Collection Value Template * * @return DeviceManagementConfigurationGroupSettingValueTemplate|null The groupSettingCollectionValueTemplate */ public function getGroupSettingCollectionValueTemplate() { if (array_key_exists("groupSettingCollectionValueTemplate", $this->_propDict)) { if (is_a($this->_propDict["groupSettingCollectionValueTemplate"], "\Beta\Microsoft\Graph\Model\DeviceManagementConfigurationGroupSettingValueTemplate") || is_null($this->_propDict["groupSettingCollectionValueTemplate"])) { return $this->_propDict["groupSettingCollectionValueTemplate"]; } else { $this->_propDict["groupSettingCollectionValueTemplate"] = new DeviceManagementConfigurationGroupSettingValueTemplate($this->_propDict["groupSettingCollectionValueTemplate"]); return $this->_propDict["groupSettingCollectionValueTemplate"]; } } return null; } /** * Sets the groupSettingCollectionValueTemplate * Group Setting Collection Value Template * * @param DeviceManagementConfigurationGroupSettingValueTemplate $val The value to assign to the groupSettingCollectionValueTemplate * * @return DeviceManagementConfigurationGroupSettingCollectionInstanceTemplate The DeviceManagementConfigurationGroupSettingCollectionInstanceTemplate */ public function setGroupSettingCollectionValueTemplate($val) { $this->_propDict["groupSettingCollectionValueTemplate"] = $val; return $this; } }