_propDict)) { return $this->_propDict["hasGraphMailbox"]; } else { return null; } } /** * Sets the hasGraphMailbox * Specifies if the user's primary mailbox is hosted in the cloud and is enabled for Microsoft Graph. * * @param bool $val The value of the hasGraphMailbox * * @return Settings */ public function setHasGraphMailbox($val) { $this->_propDict["hasGraphMailbox"] = $val; return $this; } /** * Gets the hasLicense * Specifies if the user has a MyAnalytics license assigned. * * @return bool|null The hasLicense */ public function getHasLicense() { if (array_key_exists("hasLicense", $this->_propDict)) { return $this->_propDict["hasLicense"]; } else { return null; } } /** * Sets the hasLicense * Specifies if the user has a MyAnalytics license assigned. * * @param bool $val The value of the hasLicense * * @return Settings */ public function setHasLicense($val) { $this->_propDict["hasLicense"] = $val; return $this; } /** * Gets the hasOptedOut * Specifies if the user opted out of MyAnalytics. * * @return bool|null The hasOptedOut */ public function getHasOptedOut() { if (array_key_exists("hasOptedOut", $this->_propDict)) { return $this->_propDict["hasOptedOut"]; } else { return null; } } /** * Sets the hasOptedOut * Specifies if the user opted out of MyAnalytics. * * @param bool $val The value of the hasOptedOut * * @return Settings */ public function setHasOptedOut($val) { $this->_propDict["hasOptedOut"] = $val; return $this; } }