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 |
|
---|
18 | namespace Google\Service\CloudSearch;
|
---|
19 |
|
---|
20 | class FuseboxItem extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $attributesType = Attributes::class;
|
---|
23 | protected $attributesDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $creationTimeMicroseconds;
|
---|
28 | protected $historyType = History::class;
|
---|
29 | protected $historyDataType = '';
|
---|
30 | protected $itemKeyType = MultiKey::class;
|
---|
31 | protected $itemKeyDataType = '';
|
---|
32 | protected $labelsType = Labels::class;
|
---|
33 | protected $labelsDataType = '';
|
---|
34 | /**
|
---|
35 | * @var string
|
---|
36 | */
|
---|
37 | public $lastModificationTimeUs;
|
---|
38 | protected $lockerReferencesType = References::class;
|
---|
39 | protected $lockerReferencesDataType = '';
|
---|
40 | protected $matchInfoType = MatchInfo::class;
|
---|
41 | protected $matchInfoDataType = '';
|
---|
42 | protected $partsType = ItemParts::class;
|
---|
43 | protected $partsDataType = '';
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $readTs;
|
---|
48 | protected $referencesType = References::class;
|
---|
49 | protected $referencesDataType = '';
|
---|
50 | /**
|
---|
51 | * @var string
|
---|
52 | */
|
---|
53 | public $snippet;
|
---|
54 | protected $threadKeyType = MultiKey::class;
|
---|
55 | protected $threadKeyDataType = '';
|
---|
56 | /**
|
---|
57 | * @var string
|
---|
58 | */
|
---|
59 | public $threadLocator;
|
---|
60 | protected $triggersType = Triggers::class;
|
---|
61 | protected $triggersDataType = '';
|
---|
62 | /**
|
---|
63 | * @var string
|
---|
64 | */
|
---|
65 | public $version;
|
---|
66 |
|
---|
67 | /**
|
---|
68 | * @param Attributes
|
---|
69 | */
|
---|
70 | public function setAttributes(Attributes $attributes)
|
---|
71 | {
|
---|
72 | $this->attributes = $attributes;
|
---|
73 | }
|
---|
74 | /**
|
---|
75 | * @return Attributes
|
---|
76 | */
|
---|
77 | public function getAttributes()
|
---|
78 | {
|
---|
79 | return $this->attributes;
|
---|
80 | }
|
---|
81 | /**
|
---|
82 | * @param string
|
---|
83 | */
|
---|
84 | public function setCreationTimeMicroseconds($creationTimeMicroseconds)
|
---|
85 | {
|
---|
86 | $this->creationTimeMicroseconds = $creationTimeMicroseconds;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return string
|
---|
90 | */
|
---|
91 | public function getCreationTimeMicroseconds()
|
---|
92 | {
|
---|
93 | return $this->creationTimeMicroseconds;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @param History
|
---|
97 | */
|
---|
98 | public function setHistory(History $history)
|
---|
99 | {
|
---|
100 | $this->history = $history;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return History
|
---|
104 | */
|
---|
105 | public function getHistory()
|
---|
106 | {
|
---|
107 | return $this->history;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param MultiKey
|
---|
111 | */
|
---|
112 | public function setItemKey(MultiKey $itemKey)
|
---|
113 | {
|
---|
114 | $this->itemKey = $itemKey;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return MultiKey
|
---|
118 | */
|
---|
119 | public function getItemKey()
|
---|
120 | {
|
---|
121 | return $this->itemKey;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @param Labels
|
---|
125 | */
|
---|
126 | public function setLabels(Labels $labels)
|
---|
127 | {
|
---|
128 | $this->labels = $labels;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return Labels
|
---|
132 | */
|
---|
133 | public function getLabels()
|
---|
134 | {
|
---|
135 | return $this->labels;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @param string
|
---|
139 | */
|
---|
140 | public function setLastModificationTimeUs($lastModificationTimeUs)
|
---|
141 | {
|
---|
142 | $this->lastModificationTimeUs = $lastModificationTimeUs;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @return string
|
---|
146 | */
|
---|
147 | public function getLastModificationTimeUs()
|
---|
148 | {
|
---|
149 | return $this->lastModificationTimeUs;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @param References
|
---|
153 | */
|
---|
154 | public function setLockerReferences(References $lockerReferences)
|
---|
155 | {
|
---|
156 | $this->lockerReferences = $lockerReferences;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @return References
|
---|
160 | */
|
---|
161 | public function getLockerReferences()
|
---|
162 | {
|
---|
163 | return $this->lockerReferences;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @param MatchInfo
|
---|
167 | */
|
---|
168 | public function setMatchInfo(MatchInfo $matchInfo)
|
---|
169 | {
|
---|
170 | $this->matchInfo = $matchInfo;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @return MatchInfo
|
---|
174 | */
|
---|
175 | public function getMatchInfo()
|
---|
176 | {
|
---|
177 | return $this->matchInfo;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @param ItemParts
|
---|
181 | */
|
---|
182 | public function setParts(ItemParts $parts)
|
---|
183 | {
|
---|
184 | $this->parts = $parts;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @return ItemParts
|
---|
188 | */
|
---|
189 | public function getParts()
|
---|
190 | {
|
---|
191 | return $this->parts;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @param string
|
---|
195 | */
|
---|
196 | public function setReadTs($readTs)
|
---|
197 | {
|
---|
198 | $this->readTs = $readTs;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @return string
|
---|
202 | */
|
---|
203 | public function getReadTs()
|
---|
204 | {
|
---|
205 | return $this->readTs;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @param References
|
---|
209 | */
|
---|
210 | public function setReferences(References $references)
|
---|
211 | {
|
---|
212 | $this->references = $references;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @return References
|
---|
216 | */
|
---|
217 | public function getReferences()
|
---|
218 | {
|
---|
219 | return $this->references;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @param string
|
---|
223 | */
|
---|
224 | public function setSnippet($snippet)
|
---|
225 | {
|
---|
226 | $this->snippet = $snippet;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @return string
|
---|
230 | */
|
---|
231 | public function getSnippet()
|
---|
232 | {
|
---|
233 | return $this->snippet;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @param MultiKey
|
---|
237 | */
|
---|
238 | public function setThreadKey(MultiKey $threadKey)
|
---|
239 | {
|
---|
240 | $this->threadKey = $threadKey;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @return MultiKey
|
---|
244 | */
|
---|
245 | public function getThreadKey()
|
---|
246 | {
|
---|
247 | return $this->threadKey;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @param string
|
---|
251 | */
|
---|
252 | public function setThreadLocator($threadLocator)
|
---|
253 | {
|
---|
254 | $this->threadLocator = $threadLocator;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @return string
|
---|
258 | */
|
---|
259 | public function getThreadLocator()
|
---|
260 | {
|
---|
261 | return $this->threadLocator;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @param Triggers
|
---|
265 | */
|
---|
266 | public function setTriggers(Triggers $triggers)
|
---|
267 | {
|
---|
268 | $this->triggers = $triggers;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @return Triggers
|
---|
272 | */
|
---|
273 | public function getTriggers()
|
---|
274 | {
|
---|
275 | return $this->triggers;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @param string
|
---|
279 | */
|
---|
280 | public function setVersion($version)
|
---|
281 | {
|
---|
282 | $this->version = $version;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @return string
|
---|
286 | */
|
---|
287 | public function getVersion()
|
---|
288 | {
|
---|
289 | return $this->version;
|
---|
290 | }
|
---|
291 | }
|
---|
292 |
|
---|
293 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
294 | class_alias(FuseboxItem::class, 'Google_Service_CloudSearch_FuseboxItem');
|
---|