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 Annotation extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $babelPlaceholderMetadataType = BabelPlaceholderMetadata::class;
|
---|
23 | protected $babelPlaceholderMetadataDataType = '';
|
---|
24 | protected $cardCapabilityMetadataType = CardCapabilityMetadata::class;
|
---|
25 | protected $cardCapabilityMetadataDataType = '';
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $chipRenderType;
|
---|
30 | protected $componentSearchInfoType = AppsDynamiteSharedMessageComponentSearchInfo::class;
|
---|
31 | protected $componentSearchInfoDataType = '';
|
---|
32 | protected $consentedAppUnfurlMetadataType = ConsentedAppUnfurlMetadata::class;
|
---|
33 | protected $consentedAppUnfurlMetadataDataType = '';
|
---|
34 | protected $customEmojiMetadataType = CustomEmojiMetadata::class;
|
---|
35 | protected $customEmojiMetadataDataType = '';
|
---|
36 | protected $dataLossPreventionMetadataType = DataLossPreventionMetadata::class;
|
---|
37 | protected $dataLossPreventionMetadataDataType = '';
|
---|
38 | protected $driveMetadataType = DriveMetadata::class;
|
---|
39 | protected $driveMetadataDataType = '';
|
---|
40 | protected $formatMetadataType = FormatMetadata::class;
|
---|
41 | protected $formatMetadataDataType = '';
|
---|
42 | protected $groupRetentionSettingsUpdatedType = GroupRetentionSettingsUpdatedMetaData::class;
|
---|
43 | protected $groupRetentionSettingsUpdatedDataType = '';
|
---|
44 | protected $gsuiteIntegrationMetadataType = GsuiteIntegrationMetadata::class;
|
---|
45 | protected $gsuiteIntegrationMetadataDataType = '';
|
---|
46 | protected $incomingWebhookChangedMetadataType = IncomingWebhookChangedMetadata::class;
|
---|
47 | protected $incomingWebhookChangedMetadataDataType = '';
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $inlineRenderFormat;
|
---|
52 | protected $integrationConfigUpdatedType = IntegrationConfigUpdatedMetadata::class;
|
---|
53 | protected $integrationConfigUpdatedDataType = '';
|
---|
54 | protected $interactionDataType = InteractionData::class;
|
---|
55 | protected $interactionDataDataType = '';
|
---|
56 | /**
|
---|
57 | * @var int
|
---|
58 | */
|
---|
59 | public $length;
|
---|
60 | /**
|
---|
61 | * @var string
|
---|
62 | */
|
---|
63 | public $localId;
|
---|
64 | protected $membershipChangedType = MembershipChangedMetadata::class;
|
---|
65 | protected $membershipChangedDataType = '';
|
---|
66 | protected $readReceiptsSettingsMetadataType = ReadReceiptsSettingsUpdatedMetadata::class;
|
---|
67 | protected $readReceiptsSettingsMetadataDataType = '';
|
---|
68 | protected $requiredMessageFeaturesMetadataType = RequiredMessageFeaturesMetadata::class;
|
---|
69 | protected $requiredMessageFeaturesMetadataDataType = '';
|
---|
70 | protected $roomUpdatedType = RoomUpdatedMetadata::class;
|
---|
71 | protected $roomUpdatedDataType = '';
|
---|
72 | /**
|
---|
73 | * @var bool
|
---|
74 | */
|
---|
75 | public $serverInvalidated;
|
---|
76 | protected $slashCommandMetadataType = SlashCommandMetadata::class;
|
---|
77 | protected $slashCommandMetadataDataType = '';
|
---|
78 | /**
|
---|
79 | * @var int
|
---|
80 | */
|
---|
81 | public $startIndex;
|
---|
82 | /**
|
---|
83 | * @var string
|
---|
84 | */
|
---|
85 | public $type;
|
---|
86 | /**
|
---|
87 | * @var string
|
---|
88 | */
|
---|
89 | public $uniqueId;
|
---|
90 | protected $uploadMetadataType = UploadMetadata::class;
|
---|
91 | protected $uploadMetadataDataType = '';
|
---|
92 | protected $urlMetadataType = UrlMetadata::class;
|
---|
93 | protected $urlMetadataDataType = '';
|
---|
94 | protected $userMentionMetadataType = UserMentionMetadata::class;
|
---|
95 | protected $userMentionMetadataDataType = '';
|
---|
96 | protected $videoCallMetadataType = VideoCallMetadata::class;
|
---|
97 | protected $videoCallMetadataDataType = '';
|
---|
98 | protected $youtubeMetadataType = YoutubeMetadata::class;
|
---|
99 | protected $youtubeMetadataDataType = '';
|
---|
100 |
|
---|
101 | /**
|
---|
102 | * @param BabelPlaceholderMetadata
|
---|
103 | */
|
---|
104 | public function setBabelPlaceholderMetadata(BabelPlaceholderMetadata $babelPlaceholderMetadata)
|
---|
105 | {
|
---|
106 | $this->babelPlaceholderMetadata = $babelPlaceholderMetadata;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @return BabelPlaceholderMetadata
|
---|
110 | */
|
---|
111 | public function getBabelPlaceholderMetadata()
|
---|
112 | {
|
---|
113 | return $this->babelPlaceholderMetadata;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @param CardCapabilityMetadata
|
---|
117 | */
|
---|
118 | public function setCardCapabilityMetadata(CardCapabilityMetadata $cardCapabilityMetadata)
|
---|
119 | {
|
---|
120 | $this->cardCapabilityMetadata = $cardCapabilityMetadata;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @return CardCapabilityMetadata
|
---|
124 | */
|
---|
125 | public function getCardCapabilityMetadata()
|
---|
126 | {
|
---|
127 | return $this->cardCapabilityMetadata;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @param string
|
---|
131 | */
|
---|
132 | public function setChipRenderType($chipRenderType)
|
---|
133 | {
|
---|
134 | $this->chipRenderType = $chipRenderType;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @return string
|
---|
138 | */
|
---|
139 | public function getChipRenderType()
|
---|
140 | {
|
---|
141 | return $this->chipRenderType;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @param AppsDynamiteSharedMessageComponentSearchInfo
|
---|
145 | */
|
---|
146 | public function setComponentSearchInfo(AppsDynamiteSharedMessageComponentSearchInfo $componentSearchInfo)
|
---|
147 | {
|
---|
148 | $this->componentSearchInfo = $componentSearchInfo;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @return AppsDynamiteSharedMessageComponentSearchInfo
|
---|
152 | */
|
---|
153 | public function getComponentSearchInfo()
|
---|
154 | {
|
---|
155 | return $this->componentSearchInfo;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @param ConsentedAppUnfurlMetadata
|
---|
159 | */
|
---|
160 | public function setConsentedAppUnfurlMetadata(ConsentedAppUnfurlMetadata $consentedAppUnfurlMetadata)
|
---|
161 | {
|
---|
162 | $this->consentedAppUnfurlMetadata = $consentedAppUnfurlMetadata;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @return ConsentedAppUnfurlMetadata
|
---|
166 | */
|
---|
167 | public function getConsentedAppUnfurlMetadata()
|
---|
168 | {
|
---|
169 | return $this->consentedAppUnfurlMetadata;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @param CustomEmojiMetadata
|
---|
173 | */
|
---|
174 | public function setCustomEmojiMetadata(CustomEmojiMetadata $customEmojiMetadata)
|
---|
175 | {
|
---|
176 | $this->customEmojiMetadata = $customEmojiMetadata;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @return CustomEmojiMetadata
|
---|
180 | */
|
---|
181 | public function getCustomEmojiMetadata()
|
---|
182 | {
|
---|
183 | return $this->customEmojiMetadata;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @param DataLossPreventionMetadata
|
---|
187 | */
|
---|
188 | public function setDataLossPreventionMetadata(DataLossPreventionMetadata $dataLossPreventionMetadata)
|
---|
189 | {
|
---|
190 | $this->dataLossPreventionMetadata = $dataLossPreventionMetadata;
|
---|
191 | }
|
---|
192 | /**
|
---|
193 | * @return DataLossPreventionMetadata
|
---|
194 | */
|
---|
195 | public function getDataLossPreventionMetadata()
|
---|
196 | {
|
---|
197 | return $this->dataLossPreventionMetadata;
|
---|
198 | }
|
---|
199 | /**
|
---|
200 | * @param DriveMetadata
|
---|
201 | */
|
---|
202 | public function setDriveMetadata(DriveMetadata $driveMetadata)
|
---|
203 | {
|
---|
204 | $this->driveMetadata = $driveMetadata;
|
---|
205 | }
|
---|
206 | /**
|
---|
207 | * @return DriveMetadata
|
---|
208 | */
|
---|
209 | public function getDriveMetadata()
|
---|
210 | {
|
---|
211 | return $this->driveMetadata;
|
---|
212 | }
|
---|
213 | /**
|
---|
214 | * @param FormatMetadata
|
---|
215 | */
|
---|
216 | public function setFormatMetadata(FormatMetadata $formatMetadata)
|
---|
217 | {
|
---|
218 | $this->formatMetadata = $formatMetadata;
|
---|
219 | }
|
---|
220 | /**
|
---|
221 | * @return FormatMetadata
|
---|
222 | */
|
---|
223 | public function getFormatMetadata()
|
---|
224 | {
|
---|
225 | return $this->formatMetadata;
|
---|
226 | }
|
---|
227 | /**
|
---|
228 | * @param GroupRetentionSettingsUpdatedMetaData
|
---|
229 | */
|
---|
230 | public function setGroupRetentionSettingsUpdated(GroupRetentionSettingsUpdatedMetaData $groupRetentionSettingsUpdated)
|
---|
231 | {
|
---|
232 | $this->groupRetentionSettingsUpdated = $groupRetentionSettingsUpdated;
|
---|
233 | }
|
---|
234 | /**
|
---|
235 | * @return GroupRetentionSettingsUpdatedMetaData
|
---|
236 | */
|
---|
237 | public function getGroupRetentionSettingsUpdated()
|
---|
238 | {
|
---|
239 | return $this->groupRetentionSettingsUpdated;
|
---|
240 | }
|
---|
241 | /**
|
---|
242 | * @param GsuiteIntegrationMetadata
|
---|
243 | */
|
---|
244 | public function setGsuiteIntegrationMetadata(GsuiteIntegrationMetadata $gsuiteIntegrationMetadata)
|
---|
245 | {
|
---|
246 | $this->gsuiteIntegrationMetadata = $gsuiteIntegrationMetadata;
|
---|
247 | }
|
---|
248 | /**
|
---|
249 | * @return GsuiteIntegrationMetadata
|
---|
250 | */
|
---|
251 | public function getGsuiteIntegrationMetadata()
|
---|
252 | {
|
---|
253 | return $this->gsuiteIntegrationMetadata;
|
---|
254 | }
|
---|
255 | /**
|
---|
256 | * @param IncomingWebhookChangedMetadata
|
---|
257 | */
|
---|
258 | public function setIncomingWebhookChangedMetadata(IncomingWebhookChangedMetadata $incomingWebhookChangedMetadata)
|
---|
259 | {
|
---|
260 | $this->incomingWebhookChangedMetadata = $incomingWebhookChangedMetadata;
|
---|
261 | }
|
---|
262 | /**
|
---|
263 | * @return IncomingWebhookChangedMetadata
|
---|
264 | */
|
---|
265 | public function getIncomingWebhookChangedMetadata()
|
---|
266 | {
|
---|
267 | return $this->incomingWebhookChangedMetadata;
|
---|
268 | }
|
---|
269 | /**
|
---|
270 | * @param string
|
---|
271 | */
|
---|
272 | public function setInlineRenderFormat($inlineRenderFormat)
|
---|
273 | {
|
---|
274 | $this->inlineRenderFormat = $inlineRenderFormat;
|
---|
275 | }
|
---|
276 | /**
|
---|
277 | * @return string
|
---|
278 | */
|
---|
279 | public function getInlineRenderFormat()
|
---|
280 | {
|
---|
281 | return $this->inlineRenderFormat;
|
---|
282 | }
|
---|
283 | /**
|
---|
284 | * @param IntegrationConfigUpdatedMetadata
|
---|
285 | */
|
---|
286 | public function setIntegrationConfigUpdated(IntegrationConfigUpdatedMetadata $integrationConfigUpdated)
|
---|
287 | {
|
---|
288 | $this->integrationConfigUpdated = $integrationConfigUpdated;
|
---|
289 | }
|
---|
290 | /**
|
---|
291 | * @return IntegrationConfigUpdatedMetadata
|
---|
292 | */
|
---|
293 | public function getIntegrationConfigUpdated()
|
---|
294 | {
|
---|
295 | return $this->integrationConfigUpdated;
|
---|
296 | }
|
---|
297 | /**
|
---|
298 | * @param InteractionData
|
---|
299 | */
|
---|
300 | public function setInteractionData(InteractionData $interactionData)
|
---|
301 | {
|
---|
302 | $this->interactionData = $interactionData;
|
---|
303 | }
|
---|
304 | /**
|
---|
305 | * @return InteractionData
|
---|
306 | */
|
---|
307 | public function getInteractionData()
|
---|
308 | {
|
---|
309 | return $this->interactionData;
|
---|
310 | }
|
---|
311 | /**
|
---|
312 | * @param int
|
---|
313 | */
|
---|
314 | public function setLength($length)
|
---|
315 | {
|
---|
316 | $this->length = $length;
|
---|
317 | }
|
---|
318 | /**
|
---|
319 | * @return int
|
---|
320 | */
|
---|
321 | public function getLength()
|
---|
322 | {
|
---|
323 | return $this->length;
|
---|
324 | }
|
---|
325 | /**
|
---|
326 | * @param string
|
---|
327 | */
|
---|
328 | public function setLocalId($localId)
|
---|
329 | {
|
---|
330 | $this->localId = $localId;
|
---|
331 | }
|
---|
332 | /**
|
---|
333 | * @return string
|
---|
334 | */
|
---|
335 | public function getLocalId()
|
---|
336 | {
|
---|
337 | return $this->localId;
|
---|
338 | }
|
---|
339 | /**
|
---|
340 | * @param MembershipChangedMetadata
|
---|
341 | */
|
---|
342 | public function setMembershipChanged(MembershipChangedMetadata $membershipChanged)
|
---|
343 | {
|
---|
344 | $this->membershipChanged = $membershipChanged;
|
---|
345 | }
|
---|
346 | /**
|
---|
347 | * @return MembershipChangedMetadata
|
---|
348 | */
|
---|
349 | public function getMembershipChanged()
|
---|
350 | {
|
---|
351 | return $this->membershipChanged;
|
---|
352 | }
|
---|
353 | /**
|
---|
354 | * @param ReadReceiptsSettingsUpdatedMetadata
|
---|
355 | */
|
---|
356 | public function setReadReceiptsSettingsMetadata(ReadReceiptsSettingsUpdatedMetadata $readReceiptsSettingsMetadata)
|
---|
357 | {
|
---|
358 | $this->readReceiptsSettingsMetadata = $readReceiptsSettingsMetadata;
|
---|
359 | }
|
---|
360 | /**
|
---|
361 | * @return ReadReceiptsSettingsUpdatedMetadata
|
---|
362 | */
|
---|
363 | public function getReadReceiptsSettingsMetadata()
|
---|
364 | {
|
---|
365 | return $this->readReceiptsSettingsMetadata;
|
---|
366 | }
|
---|
367 | /**
|
---|
368 | * @param RequiredMessageFeaturesMetadata
|
---|
369 | */
|
---|
370 | public function setRequiredMessageFeaturesMetadata(RequiredMessageFeaturesMetadata $requiredMessageFeaturesMetadata)
|
---|
371 | {
|
---|
372 | $this->requiredMessageFeaturesMetadata = $requiredMessageFeaturesMetadata;
|
---|
373 | }
|
---|
374 | /**
|
---|
375 | * @return RequiredMessageFeaturesMetadata
|
---|
376 | */
|
---|
377 | public function getRequiredMessageFeaturesMetadata()
|
---|
378 | {
|
---|
379 | return $this->requiredMessageFeaturesMetadata;
|
---|
380 | }
|
---|
381 | /**
|
---|
382 | * @param RoomUpdatedMetadata
|
---|
383 | */
|
---|
384 | public function setRoomUpdated(RoomUpdatedMetadata $roomUpdated)
|
---|
385 | {
|
---|
386 | $this->roomUpdated = $roomUpdated;
|
---|
387 | }
|
---|
388 | /**
|
---|
389 | * @return RoomUpdatedMetadata
|
---|
390 | */
|
---|
391 | public function getRoomUpdated()
|
---|
392 | {
|
---|
393 | return $this->roomUpdated;
|
---|
394 | }
|
---|
395 | /**
|
---|
396 | * @param bool
|
---|
397 | */
|
---|
398 | public function setServerInvalidated($serverInvalidated)
|
---|
399 | {
|
---|
400 | $this->serverInvalidated = $serverInvalidated;
|
---|
401 | }
|
---|
402 | /**
|
---|
403 | * @return bool
|
---|
404 | */
|
---|
405 | public function getServerInvalidated()
|
---|
406 | {
|
---|
407 | return $this->serverInvalidated;
|
---|
408 | }
|
---|
409 | /**
|
---|
410 | * @param SlashCommandMetadata
|
---|
411 | */
|
---|
412 | public function setSlashCommandMetadata(SlashCommandMetadata $slashCommandMetadata)
|
---|
413 | {
|
---|
414 | $this->slashCommandMetadata = $slashCommandMetadata;
|
---|
415 | }
|
---|
416 | /**
|
---|
417 | * @return SlashCommandMetadata
|
---|
418 | */
|
---|
419 | public function getSlashCommandMetadata()
|
---|
420 | {
|
---|
421 | return $this->slashCommandMetadata;
|
---|
422 | }
|
---|
423 | /**
|
---|
424 | * @param int
|
---|
425 | */
|
---|
426 | public function setStartIndex($startIndex)
|
---|
427 | {
|
---|
428 | $this->startIndex = $startIndex;
|
---|
429 | }
|
---|
430 | /**
|
---|
431 | * @return int
|
---|
432 | */
|
---|
433 | public function getStartIndex()
|
---|
434 | {
|
---|
435 | return $this->startIndex;
|
---|
436 | }
|
---|
437 | /**
|
---|
438 | * @param string
|
---|
439 | */
|
---|
440 | public function setType($type)
|
---|
441 | {
|
---|
442 | $this->type = $type;
|
---|
443 | }
|
---|
444 | /**
|
---|
445 | * @return string
|
---|
446 | */
|
---|
447 | public function getType()
|
---|
448 | {
|
---|
449 | return $this->type;
|
---|
450 | }
|
---|
451 | /**
|
---|
452 | * @param string
|
---|
453 | */
|
---|
454 | public function setUniqueId($uniqueId)
|
---|
455 | {
|
---|
456 | $this->uniqueId = $uniqueId;
|
---|
457 | }
|
---|
458 | /**
|
---|
459 | * @return string
|
---|
460 | */
|
---|
461 | public function getUniqueId()
|
---|
462 | {
|
---|
463 | return $this->uniqueId;
|
---|
464 | }
|
---|
465 | /**
|
---|
466 | * @param UploadMetadata
|
---|
467 | */
|
---|
468 | public function setUploadMetadata(UploadMetadata $uploadMetadata)
|
---|
469 | {
|
---|
470 | $this->uploadMetadata = $uploadMetadata;
|
---|
471 | }
|
---|
472 | /**
|
---|
473 | * @return UploadMetadata
|
---|
474 | */
|
---|
475 | public function getUploadMetadata()
|
---|
476 | {
|
---|
477 | return $this->uploadMetadata;
|
---|
478 | }
|
---|
479 | /**
|
---|
480 | * @param UrlMetadata
|
---|
481 | */
|
---|
482 | public function setUrlMetadata(UrlMetadata $urlMetadata)
|
---|
483 | {
|
---|
484 | $this->urlMetadata = $urlMetadata;
|
---|
485 | }
|
---|
486 | /**
|
---|
487 | * @return UrlMetadata
|
---|
488 | */
|
---|
489 | public function getUrlMetadata()
|
---|
490 | {
|
---|
491 | return $this->urlMetadata;
|
---|
492 | }
|
---|
493 | /**
|
---|
494 | * @param UserMentionMetadata
|
---|
495 | */
|
---|
496 | public function setUserMentionMetadata(UserMentionMetadata $userMentionMetadata)
|
---|
497 | {
|
---|
498 | $this->userMentionMetadata = $userMentionMetadata;
|
---|
499 | }
|
---|
500 | /**
|
---|
501 | * @return UserMentionMetadata
|
---|
502 | */
|
---|
503 | public function getUserMentionMetadata()
|
---|
504 | {
|
---|
505 | return $this->userMentionMetadata;
|
---|
506 | }
|
---|
507 | /**
|
---|
508 | * @param VideoCallMetadata
|
---|
509 | */
|
---|
510 | public function setVideoCallMetadata(VideoCallMetadata $videoCallMetadata)
|
---|
511 | {
|
---|
512 | $this->videoCallMetadata = $videoCallMetadata;
|
---|
513 | }
|
---|
514 | /**
|
---|
515 | * @return VideoCallMetadata
|
---|
516 | */
|
---|
517 | public function getVideoCallMetadata()
|
---|
518 | {
|
---|
519 | return $this->videoCallMetadata;
|
---|
520 | }
|
---|
521 | /**
|
---|
522 | * @param YoutubeMetadata
|
---|
523 | */
|
---|
524 | public function setYoutubeMetadata(YoutubeMetadata $youtubeMetadata)
|
---|
525 | {
|
---|
526 | $this->youtubeMetadata = $youtubeMetadata;
|
---|
527 | }
|
---|
528 | /**
|
---|
529 | * @return YoutubeMetadata
|
---|
530 | */
|
---|
531 | public function getYoutubeMetadata()
|
---|
532 | {
|
---|
533 | return $this->youtubeMetadata;
|
---|
534 | }
|
---|
535 | }
|
---|
536 |
|
---|
537 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
538 | class_alias(Annotation::class, 'Google_Service_CloudSearch_Annotation');
|
---|