_propDict)) { return $this->_propDict["id"]; } else { return null; } } /** * Sets the id * The ID of the entity that's targeted in the include or exclude rule, or all_users to target all users. * * @param string $val The value of the id * * @return FeatureTarget */ public function setId($val) { $this->_propDict["id"] = $val; return $this; } /** * Gets the targetType * The kind of entity that's targeted. The possible values are: group, administrativeUnit, role, unknownFutureValue. * * @return FeatureTargetType|null The targetType */ public function getTargetType() { if (array_key_exists("targetType", $this->_propDict)) { if (is_a($this->_propDict["targetType"], "\Microsoft\Graph\Model\FeatureTargetType") || is_null($this->_propDict["targetType"])) { return $this->_propDict["targetType"]; } else { $this->_propDict["targetType"] = new FeatureTargetType($this->_propDict["targetType"]); return $this->_propDict["targetType"]; } } return null; } /** * Sets the targetType * The kind of entity that's targeted. The possible values are: group, administrativeUnit, role, unknownFutureValue. * * @param FeatureTargetType $val The value to assign to the targetType * * @return FeatureTarget The FeatureTarget */ public function setTargetType($val) { $this->_propDict["targetType"] = $val; return $this; } }