_propDict)) { return $this->_propDict["id"]; } else { return null; } } /** * Sets the id * The object identifier of a Microsoft Entra user or group. * * @param string $val The value of the id * * @return ExcludeTarget */ public function setId($val) { $this->_propDict["id"] = $val; return $this; } /** * Gets the targetType * The type of the authentication method target. Possible values are: user, group, unknownFutureValue. * * @return AuthenticationMethodTargetType|null The targetType */ public function getTargetType() { if (array_key_exists("targetType", $this->_propDict)) { if (is_a($this->_propDict["targetType"], "\Microsoft\Graph\Model\AuthenticationMethodTargetType") || is_null($this->_propDict["targetType"])) { return $this->_propDict["targetType"]; } else { $this->_propDict["targetType"] = new AuthenticationMethodTargetType($this->_propDict["targetType"]); return $this->_propDict["targetType"]; } } return null; } /** * Sets the targetType * The type of the authentication method target. Possible values are: user, group, unknownFutureValue. * * @param AuthenticationMethodTargetType $val The value to assign to the targetType * * @return ExcludeTarget The ExcludeTarget */ public function setTargetType($val) { $this->_propDict["targetType"] = $val; return $this; } }