_propDict)) { return $this->_propDict["queryString"]; } else { return null; } } /** * Sets the queryString * The search query containing the search terms. Required. * * @param string $val The value of the queryString * * @return SearchQuery */ public function setQueryString($val) { $this->_propDict["queryString"] = $val; return $this; } /** * Gets the queryTemplate * Provides a way to decorate the query string. Supports both KQL and query variables. Optional. * * @return string|null The queryTemplate */ public function getQueryTemplate() { if (array_key_exists("queryTemplate", $this->_propDict)) { return $this->_propDict["queryTemplate"]; } else { return null; } } /** * Sets the queryTemplate * Provides a way to decorate the query string. Supports both KQL and query variables. Optional. * * @param string $val The value of the queryTemplate * * @return SearchQuery */ public function setQueryTemplate($val) { $this->_propDict["queryTemplate"] = $val; return $this; } }