_propDict)) { return $this->_propDict["excludeServicePrincipals"]; } else { return null; } } /** * Sets the excludeServicePrincipals * Service principal IDs excluded from the policy scope. * * @param string $val The value of the excludeServicePrincipals * * @return ConditionalAccessClientApplications */ public function setExcludeServicePrincipals($val) { $this->_propDict["excludeServicePrincipals"] = $val; return $this; } /** * Gets the includeServicePrincipals * Service principal IDs included in the policy scope, or ServicePrincipalsInMyTenant. * * @return string|null The includeServicePrincipals */ public function getIncludeServicePrincipals() { if (array_key_exists("includeServicePrincipals", $this->_propDict)) { return $this->_propDict["includeServicePrincipals"]; } else { return null; } } /** * Sets the includeServicePrincipals * Service principal IDs included in the policy scope, or ServicePrincipalsInMyTenant. * * @param string $val The value of the includeServicePrincipals * * @return ConditionalAccessClientApplications */ public function setIncludeServicePrincipals($val) { $this->_propDict["includeServicePrincipals"] = $val; return $this; } /** * Gets the servicePrincipalFilter * * @return ConditionalAccessFilter|null The servicePrincipalFilter */ public function getServicePrincipalFilter() { if (array_key_exists("servicePrincipalFilter", $this->_propDict)) { if (is_a($this->_propDict["servicePrincipalFilter"], "\Microsoft\Graph\Model\ConditionalAccessFilter") || is_null($this->_propDict["servicePrincipalFilter"])) { return $this->_propDict["servicePrincipalFilter"]; } else { $this->_propDict["servicePrincipalFilter"] = new ConditionalAccessFilter($this->_propDict["servicePrincipalFilter"]); return $this->_propDict["servicePrincipalFilter"]; } } return null; } /** * Sets the servicePrincipalFilter * * @param ConditionalAccessFilter $val The value to assign to the servicePrincipalFilter * * @return ConditionalAccessClientApplications The ConditionalAccessClientApplications */ public function setServicePrincipalFilter($val) { $this->_propDict["servicePrincipalFilter"] = $val; return $this; } }