setODataType("#microsoft.graph.macOsLobAppAssignmentSettings"); } /** * Gets the uninstallOnDeviceRemoval * Whether or not to uninstall the app when 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 * Whether or not to uninstall the app when 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; } }