setODataType("#microsoft.graph.windowsUniversalAppXAppAssignmentSettings"); } /** * Gets the useDeviceContext * If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. * * @return bool|null The useDeviceContext */ public function getUseDeviceContext() { if (array_key_exists("useDeviceContext", $this->_propDict)) { return $this->_propDict["useDeviceContext"]; } else { return null; } } /** * Sets the useDeviceContext * If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. * * @param bool $val The value of the useDeviceContext * * @return WindowsUniversalAppXAppAssignmentSettings */ public function setUseDeviceContext($val) { $this->_propDict["useDeviceContext"] = $val; return $this; } }