_propDict)) { if (is_a($this->_propDict["searchResultTemplates"], "\Beta\Microsoft\Graph\ExternalConnectors\Model\DisplayTemplate") || is_null($this->_propDict["searchResultTemplates"])) { return $this->_propDict["searchResultTemplates"]; } else { $this->_propDict["searchResultTemplates"] = new DisplayTemplate($this->_propDict["searchResultTemplates"]); return $this->_propDict["searchResultTemplates"]; } } return null; } /** * Sets the searchResultTemplates * Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of 2 search result templates per connection. * * @param DisplayTemplate $val The value to assign to the searchResultTemplates * * @return SearchSettings The SearchSettings */ public function setSearchResultTemplates($val) { $this->_propDict["searchResultTemplates"] = $val; return $this; } }