_propDict)) { if (is_a($this->_propDict["reviewSet"], "\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryReviewSet") || is_null($this->_propDict["reviewSet"])) { return $this->_propDict["reviewSet"]; } else { $this->_propDict["reviewSet"] = new EdiscoveryReviewSet($this->_propDict["reviewSet"]); return $this->_propDict["reviewSet"]; } } return null; } /** * Sets the reviewSet * eDiscovery review set to which items matching source collection query gets added. * * @param EdiscoveryReviewSet $val The reviewSet * * @return EdiscoveryAddToReviewSetOperation */ public function setReviewSet($val) { $this->_propDict["reviewSet"] = $val; return $this; } /** * Gets the search * eDiscovery search that gets added to review set. * * @return EdiscoverySearch|null The search */ public function getSearch() { if (array_key_exists("search", $this->_propDict)) { if (is_a($this->_propDict["search"], "\Microsoft\Graph\SecurityNamespace\Model\EdiscoverySearch") || is_null($this->_propDict["search"])) { return $this->_propDict["search"]; } else { $this->_propDict["search"] = new EdiscoverySearch($this->_propDict["search"]); return $this->_propDict["search"]; } } return null; } /** * Sets the search * eDiscovery search that gets added to review set. * * @param EdiscoverySearch $val The search * * @return EdiscoveryAddToReviewSetOperation */ public function setSearch($val) { $this->_propDict["search"] = $val; return $this; } }