setODataType("#microsoft.graph.windowsAppXAppAssignmentSettings"); } /** * Gets the useDeviceContext * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. * * @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 * When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. * * @param bool $val The value of the useDeviceContext * * @return WindowsAppXAppAssignmentSettings */ public function setUseDeviceContext($val) { $this->_propDict["useDeviceContext"] = $val; return $this; } }