context = $context; } /** * @return array[] */ public function getContext() { return $this->context; } /** * @param Result[] */ public function setItems($items) { $this->items = $items; } /** * @return Result[] */ public function getItems() { return $this->items; } /** * @param string */ public function setKind($kind) { $this->kind = $kind; } /** * @return string */ public function getKind() { return $this->kind; } /** * @param Promotion[] */ public function setPromotions($promotions) { $this->promotions = $promotions; } /** * @return Promotion[] */ public function getPromotions() { return $this->promotions; } /** * @param SearchQueries */ public function setQueries(SearchQueries $queries) { $this->queries = $queries; } /** * @return SearchQueries */ public function getQueries() { return $this->queries; } /** * @param SearchSearchInformation */ public function setSearchInformation(SearchSearchInformation $searchInformation) { $this->searchInformation = $searchInformation; } /** * @return SearchSearchInformation */ public function getSearchInformation() { return $this->searchInformation; } /** * @param SearchSpelling */ public function setSpelling(SearchSpelling $spelling) { $this->spelling = $spelling; } /** * @return SearchSpelling */ public function getSpelling() { return $this->spelling; } /** * @param SearchUrl */ public function setUrl(SearchUrl $url) { $this->url = $url; } /** * @return SearchUrl */ public function getUrl() { return $this->url; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Search::class, 'Google_Service_CustomSearchAPI_Search');