_propDict)) { if (is_a($this->_propDict["applications"], "\Microsoft\Graph\Model\CrossTenantAccessPolicyTargetConfiguration") || is_null($this->_propDict["applications"])) { return $this->_propDict["applications"]; } else { $this->_propDict["applications"] = new CrossTenantAccessPolicyTargetConfiguration($this->_propDict["applications"]); return $this->_propDict["applications"]; } } return null; } /** * Sets the applications * The list of applications targeted with your cross-tenant access policy. * * @param CrossTenantAccessPolicyTargetConfiguration $val The value to assign to the applications * * @return CrossTenantAccessPolicyB2BSetting The CrossTenantAccessPolicyB2BSetting */ public function setApplications($val) { $this->_propDict["applications"] = $val; return $this; } /** * Gets the usersAndGroups * The list of users and groups targeted with your cross-tenant access policy. * * @return CrossTenantAccessPolicyTargetConfiguration|null The usersAndGroups */ public function getUsersAndGroups() { if (array_key_exists("usersAndGroups", $this->_propDict)) { if (is_a($this->_propDict["usersAndGroups"], "\Microsoft\Graph\Model\CrossTenantAccessPolicyTargetConfiguration") || is_null($this->_propDict["usersAndGroups"])) { return $this->_propDict["usersAndGroups"]; } else { $this->_propDict["usersAndGroups"] = new CrossTenantAccessPolicyTargetConfiguration($this->_propDict["usersAndGroups"]); return $this->_propDict["usersAndGroups"]; } } return null; } /** * Sets the usersAndGroups * The list of users and groups targeted with your cross-tenant access policy. * * @param CrossTenantAccessPolicyTargetConfiguration $val The value to assign to the usersAndGroups * * @return CrossTenantAccessPolicyB2BSetting The CrossTenantAccessPolicyB2BSetting */ public function setUsersAndGroups($val) { $this->_propDict["usersAndGroups"] = $val; return $this; } }