_propDict)) { if (is_a($this->_propDict["appliesTo"], "\Beta\Microsoft\Graph\Model\EducationUserRole") || is_null($this->_propDict["appliesTo"])) { return $this->_propDict["appliesTo"]; } else { $this->_propDict["appliesTo"] = new EducationUserRole($this->_propDict["appliesTo"]); return $this->_propDict["appliesTo"]; } } return null; } /** * Sets the appliesTo * The user role type to assign to the license. Possible values are: student, teacher, faculty. * * @param EducationUserRole $val The value to assign to the appliesTo * * @return EducationIdentityMatchingOptions The EducationIdentityMatchingOptions */ public function setAppliesTo($val) { $this->_propDict["appliesTo"] = $val; return $this; } /** * Gets the sourcePropertyName * The name of the source property, which should be a field name in the source data. This property is case-sensitive. * * @return string|null The sourcePropertyName */ public function getSourcePropertyName() { if (array_key_exists("sourcePropertyName", $this->_propDict)) { return $this->_propDict["sourcePropertyName"]; } else { return null; } } /** * Sets the sourcePropertyName * The name of the source property, which should be a field name in the source data. This property is case-sensitive. * * @param string $val The value of the sourcePropertyName * * @return EducationIdentityMatchingOptions */ public function setSourcePropertyName($val) { $this->_propDict["sourcePropertyName"] = $val; return $this; } /** * Gets the targetDomain * The domain to suffix with the source property to match on the target. If provided as null, the source property will be used to match with the target property. * * @return string|null The targetDomain */ public function getTargetDomain() { if (array_key_exists("targetDomain", $this->_propDict)) { return $this->_propDict["targetDomain"]; } else { return null; } } /** * Sets the targetDomain * The domain to suffix with the source property to match on the target. If provided as null, the source property will be used to match with the target property. * * @param string $val The value of the targetDomain * * @return EducationIdentityMatchingOptions */ public function setTargetDomain($val) { $this->_propDict["targetDomain"] = $val; return $this; } /** * Gets the targetPropertyName * The name of the target property, which should be a valid property in Microsoft Entra ID. This property is case-sensitive. * * @return string|null The targetPropertyName */ public function getTargetPropertyName() { if (array_key_exists("targetPropertyName", $this->_propDict)) { return $this->_propDict["targetPropertyName"]; } else { return null; } } /** * Sets the targetPropertyName * The name of the target property, which should be a valid property in Microsoft Entra ID. This property is case-sensitive. * * @param string $val The value of the targetPropertyName * * @return EducationIdentityMatchingOptions */ public function setTargetPropertyName($val) { $this->_propDict["targetPropertyName"] = $val; return $this; } }