_propDict)) { if (is_a($this->_propDict["dataSource"], "\Microsoft\Graph\SecurityNamespace\Model\DataSource") || is_null($this->_propDict["dataSource"])) { return $this->_propDict["dataSource"]; } else { $this->_propDict["dataSource"] = new DataSource($this->_propDict["dataSource"]); return $this->_propDict["dataSource"]; } } return null; } /** * Sets the dataSource * User source or SharePoint site data source as noncustodial data source. * * @param DataSource $val The dataSource * * @return EdiscoveryNoncustodialDataSource */ public function setDataSource($val) { $this->_propDict["dataSource"] = $val; return $this; } /** * Gets the lastIndexOperation * Operation entity that represents the latest indexing for the noncustodial data source. * * @return EdiscoveryIndexOperation|null The lastIndexOperation */ public function getLastIndexOperation() { if (array_key_exists("lastIndexOperation", $this->_propDict)) { if (is_a($this->_propDict["lastIndexOperation"], "\Microsoft\Graph\SecurityNamespace\Model\EdiscoveryIndexOperation") || is_null($this->_propDict["lastIndexOperation"])) { return $this->_propDict["lastIndexOperation"]; } else { $this->_propDict["lastIndexOperation"] = new EdiscoveryIndexOperation($this->_propDict["lastIndexOperation"]); return $this->_propDict["lastIndexOperation"]; } } return null; } /** * Sets the lastIndexOperation * Operation entity that represents the latest indexing for the noncustodial data source. * * @param EdiscoveryIndexOperation $val The lastIndexOperation * * @return EdiscoveryNoncustodialDataSource */ public function setLastIndexOperation($val) { $this->_propDict["lastIndexOperation"] = $val; return $this; } }