_propDict)) { if (is_a($this->_propDict["applications"], "Microsoft\Graph\Model\ConditionalAccessApplications")) { return $this->_propDict["applications"]; } else { $this->_propDict["applications"] = new ConditionalAccessApplications($this->_propDict["applications"]); return $this->_propDict["applications"]; } } return null; } /** * Sets the applications * Applications and user actions included in and excluded from the policy. Required. * * @param ConditionalAccessApplications $val The value to assign to the applications * * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet */ public function setApplications($val) { $this->_propDict["applications"] = $val; return $this; } /** * Gets the users * Users, groups, and roles included in and excluded from the policy. Required. * * @return ConditionalAccessUsers The users */ public function getUsers() { if (array_key_exists("users", $this->_propDict)) { if (is_a($this->_propDict["users"], "Microsoft\Graph\Model\ConditionalAccessUsers")) { return $this->_propDict["users"]; } else { $this->_propDict["users"] = new ConditionalAccessUsers($this->_propDict["users"]); return $this->_propDict["users"]; } } return null; } /** * Sets the users * Users, groups, and roles included in and excluded from the policy. Required. * * @param ConditionalAccessUsers $val The value to assign to the users * * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet */ public function setUsers($val) { $this->_propDict["users"] = $val; return $this; } /** * Gets the signInRiskLevels * Risk levels included in the policy. Possible values are: low, medium, high, none. * * @return RiskLevel The signInRiskLevels */ public function getSignInRiskLevels() { if (array_key_exists("signInRiskLevels", $this->_propDict)) { if (is_a($this->_propDict["signInRiskLevels"], "Microsoft\Graph\Model\RiskLevel")) { return $this->_propDict["signInRiskLevels"]; } else { $this->_propDict["signInRiskLevels"] = new RiskLevel($this->_propDict["signInRiskLevels"]); return $this->_propDict["signInRiskLevels"]; } } return null; } /** * Sets the signInRiskLevels * Risk levels included in the policy. Possible values are: low, medium, high, none. * * @param RiskLevel $val The value to assign to the signInRiskLevels * * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet */ public function setSignInRiskLevels($val) { $this->_propDict["signInRiskLevels"] = $val; return $this; } /** * Gets the platforms * Platforms included in and excluded from the policy. * * @return ConditionalAccessPlatforms The platforms */ public function getPlatforms() { if (array_key_exists("platforms", $this->_propDict)) { if (is_a($this->_propDict["platforms"], "Microsoft\Graph\Model\ConditionalAccessPlatforms")) { return $this->_propDict["platforms"]; } else { $this->_propDict["platforms"] = new ConditionalAccessPlatforms($this->_propDict["platforms"]); return $this->_propDict["platforms"]; } } return null; } /** * Sets the platforms * Platforms included in and excluded from the policy. * * @param ConditionalAccessPlatforms $val The value to assign to the platforms * * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet */ public function setPlatforms($val) { $this->_propDict["platforms"] = $val; return $this; } /** * Gets the locations * Locations included in and excluded from the policy. * * @return ConditionalAccessLocations The locations */ public function getLocations() { if (array_key_exists("locations", $this->_propDict)) { if (is_a($this->_propDict["locations"], "Microsoft\Graph\Model\ConditionalAccessLocations")) { return $this->_propDict["locations"]; } else { $this->_propDict["locations"] = new ConditionalAccessLocations($this->_propDict["locations"]); return $this->_propDict["locations"]; } } return null; } /** * Sets the locations * Locations included in and excluded from the policy. * * @param ConditionalAccessLocations $val The value to assign to the locations * * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet */ public function setLocations($val) { $this->_propDict["locations"] = $val; return $this; } /** * Gets the clientAppTypes * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. * * @return ConditionalAccessClientApp The clientAppTypes */ public function getClientAppTypes() { if (array_key_exists("clientAppTypes", $this->_propDict)) { if (is_a($this->_propDict["clientAppTypes"], "Microsoft\Graph\Model\ConditionalAccessClientApp")) { return $this->_propDict["clientAppTypes"]; } else { $this->_propDict["clientAppTypes"] = new ConditionalAccessClientApp($this->_propDict["clientAppTypes"]); return $this->_propDict["clientAppTypes"]; } } return null; } /** * Sets the clientAppTypes * Client application types included in the policy. Possible values are: all, browser, mobileAppsAndDesktopClients, exchangeActiveSync, easSupported, other. * * @param ConditionalAccessClientApp $val The value to assign to the clientAppTypes * * @return ConditionalAccessConditionSet The ConditionalAccessConditionSet */ public function setClientAppTypes($val) { $this->_propDict["clientAppTypes"] = $val; return $this; } }