_propDict)) { return $this->_propDict["allowAccessToDownloadsFolder"]; } else { return null; } } /** * Sets the allowAccessToDownloadsFolder * This setting allows access to Downloads folder in file explorer. * * @param bool $val The value of the allowAccessToDownloadsFolder * * @return WindowsKioskMultipleApps */ public function setAllowAccessToDownloadsFolder($val) { $this->_propDict["allowAccessToDownloadsFolder"] = $val; return $this; } /** * Gets the apps * These are the only Windows Store Apps that will be available to launch from the Start menu. This collection can contain a maximum of 128 elements. * * @return WindowsKioskAppBase|null The apps */ public function getApps() { if (array_key_exists("apps", $this->_propDict)) { if (is_a($this->_propDict["apps"], "\Beta\Microsoft\Graph\Model\WindowsKioskAppBase") || is_null($this->_propDict["apps"])) { return $this->_propDict["apps"]; } else { $this->_propDict["apps"] = new WindowsKioskAppBase($this->_propDict["apps"]); return $this->_propDict["apps"]; } } return null; } /** * Sets the apps * These are the only Windows Store Apps that will be available to launch from the Start menu. This collection can contain a maximum of 128 elements. * * @param WindowsKioskAppBase $val The value to assign to the apps * * @return WindowsKioskMultipleApps The WindowsKioskMultipleApps */ public function setApps($val) { $this->_propDict["apps"] = $val; return $this; } /** * Gets the disallowDesktopApps * This setting indicates that desktop apps are allowed. Default to true. * * @return bool|null The disallowDesktopApps */ public function getDisallowDesktopApps() { if (array_key_exists("disallowDesktopApps", $this->_propDict)) { return $this->_propDict["disallowDesktopApps"]; } else { return null; } } /** * Sets the disallowDesktopApps * This setting indicates that desktop apps are allowed. Default to true. * * @param bool $val The value of the disallowDesktopApps * * @return WindowsKioskMultipleApps */ public function setDisallowDesktopApps($val) { $this->_propDict["disallowDesktopApps"] = $val; return $this; } /** * Gets the showTaskBar * This setting allows the admin to specify whether the Task Bar is shown or not. * * @return bool|null The showTaskBar */ public function getShowTaskBar() { if (array_key_exists("showTaskBar", $this->_propDict)) { return $this->_propDict["showTaskBar"]; } else { return null; } } /** * Sets the showTaskBar * This setting allows the admin to specify whether the Task Bar is shown or not. * * @param bool $val The value of the showTaskBar * * @return WindowsKioskMultipleApps */ public function setShowTaskBar($val) { $this->_propDict["showTaskBar"] = $val; return $this; } /** * Gets the startMenuLayoutXml * Allows admins to override the default Start layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in Binary format. * * @return \GuzzleHttp\Psr7\Stream|null The startMenuLayoutXml */ public function getStartMenuLayoutXml() { if (array_key_exists("startMenuLayoutXml", $this->_propDict)) { if (is_a($this->_propDict["startMenuLayoutXml"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["startMenuLayoutXml"])) { return $this->_propDict["startMenuLayoutXml"]; } else { $this->_propDict["startMenuLayoutXml"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["startMenuLayoutXml"]); return $this->_propDict["startMenuLayoutXml"]; } } return null; } /** * Sets the startMenuLayoutXml * Allows admins to override the default Start layout and prevents the user from changing it. The layout is modified by specifying an XML file based on a layout modification schema. XML needs to be in Binary format. * * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the startMenuLayoutXml * * @return WindowsKioskMultipleApps The WindowsKioskMultipleApps */ public function setStartMenuLayoutXml($val) { $this->_propDict["startMenuLayoutXml"] = $val; return $this; } }