_propDict)) { if (is_a($this->_propDict["reviewSet"], "\Beta\Microsoft\Graph\Ediscovery\Model\ReviewSet") || is_null($this->_propDict["reviewSet"])) { return $this->_propDict["reviewSet"]; } else { $this->_propDict["reviewSet"] = new ReviewSet($this->_propDict["reviewSet"]); return $this->_propDict["reviewSet"]; } } return null; } /** * Sets the reviewSet * The review set to which items matching the source collection query are added to. * * @param ReviewSet $val The reviewSet * * @return AddToReviewSetOperation */ public function setReviewSet($val) { $this->_propDict["reviewSet"] = $val; return $this; } /** * Gets the sourceCollection * The sourceCollection that items are being added from. * * @return SourceCollection|null The sourceCollection */ public function getSourceCollection() { if (array_key_exists("sourceCollection", $this->_propDict)) { if (is_a($this->_propDict["sourceCollection"], "\Beta\Microsoft\Graph\Ediscovery\Model\SourceCollection") || is_null($this->_propDict["sourceCollection"])) { return $this->_propDict["sourceCollection"]; } else { $this->_propDict["sourceCollection"] = new SourceCollection($this->_propDict["sourceCollection"]); return $this->_propDict["sourceCollection"]; } } return null; } /** * Sets the sourceCollection * The sourceCollection that items are being added from. * * @param SourceCollection $val The sourceCollection * * @return AddToReviewSetOperation */ public function setSourceCollection($val) { $this->_propDict["sourceCollection"] = $val; return $this; } }