_propDict)) { if (is_a($this->_propDict["appDetail"], "\Beta\Microsoft\Graph\Model\AppListItem") || is_null($this->_propDict["appDetail"])) { return $this->_propDict["appDetail"]; } else { $this->_propDict["appDetail"] = new AppListItem($this->_propDict["appDetail"]); return $this->_propDict["appDetail"]; } } return null; } /** * Sets the appDetail * Information about the app like Name, AppStoreUrl, Publisher and AppId * * @param AppListItem $val The value to assign to the appDetail * * @return AndroidDeviceOwnerDelegatedScopeAppSetting The AndroidDeviceOwnerDelegatedScopeAppSetting */ public function setAppDetail($val) { $this->_propDict["appDetail"] = $val; return $this; } /** * Gets the appScopes * List of scopes an app has been assigned. * * @return AndroidDeviceOwnerDelegatedAppScopeType|null The appScopes */ public function getAppScopes() { if (array_key_exists("appScopes", $this->_propDict)) { if (is_a($this->_propDict["appScopes"], "\Beta\Microsoft\Graph\Model\AndroidDeviceOwnerDelegatedAppScopeType") || is_null($this->_propDict["appScopes"])) { return $this->_propDict["appScopes"]; } else { $this->_propDict["appScopes"] = new AndroidDeviceOwnerDelegatedAppScopeType($this->_propDict["appScopes"]); return $this->_propDict["appScopes"]; } } return null; } /** * Sets the appScopes * List of scopes an app has been assigned. * * @param AndroidDeviceOwnerDelegatedAppScopeType $val The value to assign to the appScopes * * @return AndroidDeviceOwnerDelegatedScopeAppSetting The AndroidDeviceOwnerDelegatedScopeAppSetting */ public function setAppScopes($val) { $this->_propDict["appScopes"] = $val; return $this; } }