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