setODataType("#microsoft.graph.macOsLobAppAssignmentSettings"); } /** * Gets the uninstallOnDeviceRemoval * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. * * @return bool|null The uninstallOnDeviceRemoval */ public function getUninstallOnDeviceRemoval() { if (array_key_exists("uninstallOnDeviceRemoval", $this->_propDict)) { return $this->_propDict["uninstallOnDeviceRemoval"]; } else { return null; } } /** * Sets the uninstallOnDeviceRemoval * When TRUE, indicates that the app should be uninstalled when the device is removed from Intune. When FALSE, indicates that the app will not be uninstalled when the device is removed from Intune. * * @param bool $val The value of the uninstallOnDeviceRemoval * * @return MacOsLobAppAssignmentSettings */ public function setUninstallOnDeviceRemoval($val) { $this->_propDict["uninstallOnDeviceRemoval"] = $val; return $this; } }