_propDict)) { if (is_a($this->_propDict["microsoftApplicationDataAccess"], "\Beta\Microsoft\Graph\Model\MicrosoftApplicationDataAccessSettings") || is_null($this->_propDict["microsoftApplicationDataAccess"])) { return $this->_propDict["microsoftApplicationDataAccess"]; } else { $this->_propDict["microsoftApplicationDataAccess"] = new MicrosoftApplicationDataAccessSettings($this->_propDict["microsoftApplicationDataAccess"]); return $this->_propDict["microsoftApplicationDataAccess"]; } } return null; } /** * Sets the microsoftApplicationDataAccess * * @param MicrosoftApplicationDataAccessSettings $val The microsoftApplicationDataAccess * * @return OrganizationSettings */ public function setMicrosoftApplicationDataAccess($val) { $this->_propDict["microsoftApplicationDataAccess"] = $val; return $this; } /** * Gets the contactInsights * Contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization. * * @return InsightsSettings|null The contactInsights */ public function getContactInsights() { if (array_key_exists("contactInsights", $this->_propDict)) { if (is_a($this->_propDict["contactInsights"], "\Beta\Microsoft\Graph\Model\InsightsSettings") || is_null($this->_propDict["contactInsights"])) { return $this->_propDict["contactInsights"]; } else { $this->_propDict["contactInsights"] = new InsightsSettings($this->_propDict["contactInsights"]); return $this->_propDict["contactInsights"]; } } return null; } /** * Sets the contactInsights * Contains the properties that are configured by an administrator as a tenant-level privacy control whether to identify duplicate contacts among a user's contacts list and suggest the user to merge those contacts to have a cleaner contacts list. List contactInsights returns the settings to display or return contact insights in an organization. * * @param InsightsSettings $val The contactInsights * * @return OrganizationSettings */ public function setContactInsights($val) { $this->_propDict["contactInsights"] = $val; return $this; } /** * Gets the itemInsights * Contains the properties that are configured by an administrator for the visibility of Microsoft Graph-derived insights, between a user and other items in Microsoft 365, such as documents or sites. List itemInsights returns the settings to display or return item insights in an organization. * * @return InsightsSettings|null The itemInsights */ public function getItemInsights() { if (array_key_exists("itemInsights", $this->_propDict)) { if (is_a($this->_propDict["itemInsights"], "\Beta\Microsoft\Graph\Model\InsightsSettings") || is_null($this->_propDict["itemInsights"])) { return $this->_propDict["itemInsights"]; } else { $this->_propDict["itemInsights"] = new InsightsSettings($this->_propDict["itemInsights"]); return $this->_propDict["itemInsights"]; } } return null; } /** * Sets the itemInsights * Contains the properties that are configured by an administrator for the visibility of Microsoft Graph-derived insights, between a user and other items in Microsoft 365, such as documents or sites. List itemInsights returns the settings to display or return item insights in an organization. * * @param InsightsSettings $val The itemInsights * * @return OrganizationSettings */ public function setItemInsights($val) { $this->_propDict["itemInsights"] = $val; return $this; } /** * Gets the peopleInsights * Contains the properties that are configured by an administrator for the visibility of a list of people relevant and working with a user in Microsoft 365. List peopleInsights returns the settings to display or return people insights in an organization. * * @return InsightsSettings|null The peopleInsights */ public function getPeopleInsights() { if (array_key_exists("peopleInsights", $this->_propDict)) { if (is_a($this->_propDict["peopleInsights"], "\Beta\Microsoft\Graph\Model\InsightsSettings") || is_null($this->_propDict["peopleInsights"])) { return $this->_propDict["peopleInsights"]; } else { $this->_propDict["peopleInsights"] = new InsightsSettings($this->_propDict["peopleInsights"]); return $this->_propDict["peopleInsights"]; } } return null; } /** * Sets the peopleInsights * Contains the properties that are configured by an administrator for the visibility of a list of people relevant and working with a user in Microsoft 365. List peopleInsights returns the settings to display or return people insights in an organization. * * @param InsightsSettings $val The peopleInsights * * @return OrganizationSettings */ public function setPeopleInsights($val) { $this->_propDict["peopleInsights"] = $val; return $this; } }