source: vendor/google/apiclient-services/src/CloudRetail/GoogleCloudRetailV2SearchResponse.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 10 days ago

Upload project files

  • Property mode set to 100644
File size: 6.7 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\CloudRetail;
19
20class GoogleCloudRetailV2SearchResponse extends \Google\Collection
21{
22 protected $collection_key = 'results';
23 /**
24 * @var string[]
25 */
26 public $appliedControls;
27 /**
28 * @var string
29 */
30 public $attributionToken;
31 protected $conversationalSearchResultType = GoogleCloudRetailV2SearchResponseConversationalSearchResult::class;
32 protected $conversationalSearchResultDataType = '';
33 /**
34 * @var string
35 */
36 public $correctedQuery;
37 protected $experimentInfoType = GoogleCloudRetailV2ExperimentInfo::class;
38 protected $experimentInfoDataType = 'array';
39 protected $facetsType = GoogleCloudRetailV2SearchResponseFacet::class;
40 protected $facetsDataType = 'array';
41 protected $invalidConditionBoostSpecsType = GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec::class;
42 protected $invalidConditionBoostSpecsDataType = 'array';
43 /**
44 * @var string
45 */
46 public $nextPageToken;
47 protected $pinControlMetadataType = GoogleCloudRetailV2PinControlMetadata::class;
48 protected $pinControlMetadataDataType = '';
49 protected $queryExpansionInfoType = GoogleCloudRetailV2SearchResponseQueryExpansionInfo::class;
50 protected $queryExpansionInfoDataType = '';
51 /**
52 * @var string
53 */
54 public $redirectUri;
55 protected $resultsType = GoogleCloudRetailV2SearchResponseSearchResult::class;
56 protected $resultsDataType = 'array';
57 protected $tileNavigationResultType = GoogleCloudRetailV2SearchResponseTileNavigationResult::class;
58 protected $tileNavigationResultDataType = '';
59 /**
60 * @var int
61 */
62 public $totalSize;
63
64 /**
65 * @param string[]
66 */
67 public function setAppliedControls($appliedControls)
68 {
69 $this->appliedControls = $appliedControls;
70 }
71 /**
72 * @return string[]
73 */
74 public function getAppliedControls()
75 {
76 return $this->appliedControls;
77 }
78 /**
79 * @param string
80 */
81 public function setAttributionToken($attributionToken)
82 {
83 $this->attributionToken = $attributionToken;
84 }
85 /**
86 * @return string
87 */
88 public function getAttributionToken()
89 {
90 return $this->attributionToken;
91 }
92 /**
93 * @param GoogleCloudRetailV2SearchResponseConversationalSearchResult
94 */
95 public function setConversationalSearchResult(GoogleCloudRetailV2SearchResponseConversationalSearchResult $conversationalSearchResult)
96 {
97 $this->conversationalSearchResult = $conversationalSearchResult;
98 }
99 /**
100 * @return GoogleCloudRetailV2SearchResponseConversationalSearchResult
101 */
102 public function getConversationalSearchResult()
103 {
104 return $this->conversationalSearchResult;
105 }
106 /**
107 * @param string
108 */
109 public function setCorrectedQuery($correctedQuery)
110 {
111 $this->correctedQuery = $correctedQuery;
112 }
113 /**
114 * @return string
115 */
116 public function getCorrectedQuery()
117 {
118 return $this->correctedQuery;
119 }
120 /**
121 * @param GoogleCloudRetailV2ExperimentInfo[]
122 */
123 public function setExperimentInfo($experimentInfo)
124 {
125 $this->experimentInfo = $experimentInfo;
126 }
127 /**
128 * @return GoogleCloudRetailV2ExperimentInfo[]
129 */
130 public function getExperimentInfo()
131 {
132 return $this->experimentInfo;
133 }
134 /**
135 * @param GoogleCloudRetailV2SearchResponseFacet[]
136 */
137 public function setFacets($facets)
138 {
139 $this->facets = $facets;
140 }
141 /**
142 * @return GoogleCloudRetailV2SearchResponseFacet[]
143 */
144 public function getFacets()
145 {
146 return $this->facets;
147 }
148 /**
149 * @param GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec[]
150 */
151 public function setInvalidConditionBoostSpecs($invalidConditionBoostSpecs)
152 {
153 $this->invalidConditionBoostSpecs = $invalidConditionBoostSpecs;
154 }
155 /**
156 * @return GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec[]
157 */
158 public function getInvalidConditionBoostSpecs()
159 {
160 return $this->invalidConditionBoostSpecs;
161 }
162 /**
163 * @param string
164 */
165 public function setNextPageToken($nextPageToken)
166 {
167 $this->nextPageToken = $nextPageToken;
168 }
169 /**
170 * @return string
171 */
172 public function getNextPageToken()
173 {
174 return $this->nextPageToken;
175 }
176 /**
177 * @param GoogleCloudRetailV2PinControlMetadata
178 */
179 public function setPinControlMetadata(GoogleCloudRetailV2PinControlMetadata $pinControlMetadata)
180 {
181 $this->pinControlMetadata = $pinControlMetadata;
182 }
183 /**
184 * @return GoogleCloudRetailV2PinControlMetadata
185 */
186 public function getPinControlMetadata()
187 {
188 return $this->pinControlMetadata;
189 }
190 /**
191 * @param GoogleCloudRetailV2SearchResponseQueryExpansionInfo
192 */
193 public function setQueryExpansionInfo(GoogleCloudRetailV2SearchResponseQueryExpansionInfo $queryExpansionInfo)
194 {
195 $this->queryExpansionInfo = $queryExpansionInfo;
196 }
197 /**
198 * @return GoogleCloudRetailV2SearchResponseQueryExpansionInfo
199 */
200 public function getQueryExpansionInfo()
201 {
202 return $this->queryExpansionInfo;
203 }
204 /**
205 * @param string
206 */
207 public function setRedirectUri($redirectUri)
208 {
209 $this->redirectUri = $redirectUri;
210 }
211 /**
212 * @return string
213 */
214 public function getRedirectUri()
215 {
216 return $this->redirectUri;
217 }
218 /**
219 * @param GoogleCloudRetailV2SearchResponseSearchResult[]
220 */
221 public function setResults($results)
222 {
223 $this->results = $results;
224 }
225 /**
226 * @return GoogleCloudRetailV2SearchResponseSearchResult[]
227 */
228 public function getResults()
229 {
230 return $this->results;
231 }
232 /**
233 * @param GoogleCloudRetailV2SearchResponseTileNavigationResult
234 */
235 public function setTileNavigationResult(GoogleCloudRetailV2SearchResponseTileNavigationResult $tileNavigationResult)
236 {
237 $this->tileNavigationResult = $tileNavigationResult;
238 }
239 /**
240 * @return GoogleCloudRetailV2SearchResponseTileNavigationResult
241 */
242 public function getTileNavigationResult()
243 {
244 return $this->tileNavigationResult;
245 }
246 /**
247 * @param int
248 */
249 public function setTotalSize($totalSize)
250 {
251 $this->totalSize = $totalSize;
252 }
253 /**
254 * @return int
255 */
256 public function getTotalSize()
257 {
258 return $this->totalSize;
259 }
260}
261
262// Adding a class alias for backwards compatibility with the previous class name.
263class_alias(GoogleCloudRetailV2SearchResponse::class, 'Google_Service_CloudRetail_GoogleCloudRetailV2SearchResponse');
Note: See TracBrowser for help on using the repository browser.