_propDict)) { return $this->_propDict["enabled"]; } else { return null; } } /** * Sets the enabled * Indicates if on premises conditional access is enabled for this organization * * @param bool $val The enabled * * @return OnPremisesConditionalAccessSettings */ public function setEnabled($val) { $this->_propDict["enabled"] = boolval($val); return $this; } /** * Gets the excludedGroups * User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy. * * @return array|null The excludedGroups */ public function getExcludedGroups() { if (array_key_exists("excludedGroups", $this->_propDict)) { return $this->_propDict["excludedGroups"]; } else { return null; } } /** * Sets the excludedGroups * User groups that will be exempt by on premises conditional access. All users in these groups will be exempt from the conditional access policy. * * @param string[] $val The excludedGroups * * @return OnPremisesConditionalAccessSettings */ public function setExcludedGroups($val) { $this->_propDict["excludedGroups"] = $val; return $this; } /** * Gets the includedGroups * User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access. * * @return array|null The includedGroups */ public function getIncludedGroups() { if (array_key_exists("includedGroups", $this->_propDict)) { return $this->_propDict["includedGroups"]; } else { return null; } } /** * Sets the includedGroups * User groups that will be targeted by on premises conditional access. All users in these groups will be required to have mobile device managed and compliant for mail access. * * @param string[] $val The includedGroups * * @return OnPremisesConditionalAccessSettings */ public function setIncludedGroups($val) { $this->_propDict["includedGroups"] = $val; return $this; } /** * Gets the overrideDefaultRule * Override the default access rule when allowing a device to ensure access is granted. * * @return bool|null The overrideDefaultRule */ public function getOverrideDefaultRule() { if (array_key_exists("overrideDefaultRule", $this->_propDict)) { return $this->_propDict["overrideDefaultRule"]; } else { return null; } } /** * Sets the overrideDefaultRule * Override the default access rule when allowing a device to ensure access is granted. * * @param bool $val The overrideDefaultRule * * @return OnPremisesConditionalAccessSettings */ public function setOverrideDefaultRule($val) { $this->_propDict["overrideDefaultRule"] = boolval($val); return $this; } }