_propDict)) { if (is_a($this->_propDict["results"], "\Microsoft\Graph\SecurityNamespace\Model\HuntingRowResult") || is_null($this->_propDict["results"])) { return $this->_propDict["results"]; } else { $this->_propDict["results"] = new HuntingRowResult($this->_propDict["results"]); return $this->_propDict["results"]; } } return null; } /** * Sets the results * The results of the hunting query. * * @param HuntingRowResult $val The value to assign to the results * * @return HuntingQueryResults The HuntingQueryResults */ public function setResults($val) { $this->_propDict["results"] = $val; return $this; } /** * Gets the schema * The schema for the response. * * @return SinglePropertySchema|null The schema */ public function getSchema() { if (array_key_exists("schema", $this->_propDict)) { if (is_a($this->_propDict["schema"], "\Microsoft\Graph\SecurityNamespace\Model\SinglePropertySchema") || is_null($this->_propDict["schema"])) { return $this->_propDict["schema"]; } else { $this->_propDict["schema"] = new SinglePropertySchema($this->_propDict["schema"]); return $this->_propDict["schema"]; } } return null; } /** * Sets the schema * The schema for the response. * * @param SinglePropertySchema $val The value to assign to the schema * * @return HuntingQueryResults The HuntingQueryResults */ public function setSchema($val) { $this->_propDict["schema"] = $val; return $this; } }