source: vendor/google/apiclient-services/src/CloudSearch/Message.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 15.9 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\CloudSearch;
19
20class Message extends \Google\Collection
21{
22 protected $collection_key = 'uploadMetadata';
23 protected $annotationsType = Annotation::class;
24 protected $annotationsDataType = 'array';
25 protected $appProfileType = AppsDynamiteSharedAppProfile::class;
26 protected $appProfileDataType = '';
27 protected $attachmentsType = Attachment::class;
28 protected $attachmentsDataType = 'array';
29 protected $attributesType = MessageAttributes::class;
30 protected $attributesDataType = '';
31 protected $botResponsesType = BotResponse::class;
32 protected $botResponsesDataType = 'array';
33 protected $communalLabelsType = CommunalLabelTag::class;
34 protected $communalLabelsDataType = 'array';
35 protected $contentReportSummaryType = ContentReportSummary::class;
36 protected $contentReportSummaryDataType = '';
37 /**
38 * @var string
39 */
40 public $createTime;
41 protected $creatorIdType = UserId::class;
42 protected $creatorIdDataType = '';
43 /**
44 * @var string
45 */
46 public $deletableBy;
47 /**
48 * @var string
49 */
50 public $deleteTime;
51 /**
52 * @var string
53 */
54 public $deleteTimeForRequester;
55 /**
56 * @var bool
57 */
58 public $deletedByVault;
59 protected $dlpScanSummaryType = DlpScanSummary::class;
60 protected $dlpScanSummaryDataType = '';
61 /**
62 * @var string
63 */
64 public $editableBy;
65 /**
66 * @var string
67 */
68 public $fallbackText;
69 protected $idType = MessageId::class;
70 protected $idDataType = '';
71 /**
72 * @var bool
73 */
74 public $isContentPurged;
75 /**
76 * @var bool
77 */
78 public $isInlineReply;
79 /**
80 * @var string
81 */
82 public $lastEditTime;
83 /**
84 * @var string
85 */
86 public $lastUpdateTime;
87 /**
88 * @var string
89 */
90 public $localId;
91 protected $messageIntegrationPayloadType = AppsDynamiteSharedMessageIntegrationPayload::class;
92 protected $messageIntegrationPayloadDataType = '';
93 /**
94 * @var string
95 */
96 public $messageOrigin;
97 protected $messageReferenceType = MessageReference::class;
98 protected $messageReferenceDataType = '';
99 protected $messageSearchInfoType = AppsDynamiteSharedMessageSearchInfo::class;
100 protected $messageSearchInfoDataType = '';
101 /**
102 * @var string
103 */
104 public $messageState;
105 /**
106 * @var int
107 */
108 public $numberOfUnicodeEmojis;
109 protected $originAppSuggestionsType = AppsDynamiteSharedOriginAppSuggestion::class;
110 protected $originAppSuggestionsDataType = 'array';
111 protected $personalLabelsType = PersonalLabelTag::class;
112 protected $personalLabelsDataType = 'array';
113 protected $privateMessageInfosType = PrivateMessageInfo::class;
114 protected $privateMessageInfosDataType = 'array';
115 protected $privateMessageViewerType = UserId::class;
116 protected $privateMessageViewerDataType = '';
117 protected $propsType = MessageProps::class;
118 protected $propsDataType = '';
119 /**
120 * @var string
121 */
122 public $quotedByState;
123 protected $quotedMessageMetadataType = QuotedMessageMetadata::class;
124 protected $quotedMessageMetadataDataType = '';
125 protected $reactionsType = AppsDynamiteSharedReaction::class;
126 protected $reactionsDataType = 'array';
127 protected $reportsType = ContentReport::class;
128 protected $reportsDataType = 'array';
129 protected $retentionSettingsType = AppsDynamiteSharedRetentionSettings::class;
130 protected $retentionSettingsDataType = '';
131 /**
132 * @var string
133 */
134 public $richTextFormattingType;
135 /**
136 * @var string
137 */
138 public $secondaryMessageKey;
139 /**
140 * @var string
141 */
142 public $textBody;
143 protected $tombstoneMetadataType = TombstoneMetadata::class;
144 protected $tombstoneMetadataDataType = '';
145 protected $updaterIdType = UserId::class;
146 protected $updaterIdDataType = '';
147 protected $uploadMetadataType = UploadMetadata::class;
148 protected $uploadMetadataDataType = 'array';
149
150 /**
151 * @param Annotation[]
152 */
153 public function setAnnotations($annotations)
154 {
155 $this->annotations = $annotations;
156 }
157 /**
158 * @return Annotation[]
159 */
160 public function getAnnotations()
161 {
162 return $this->annotations;
163 }
164 /**
165 * @param AppsDynamiteSharedAppProfile
166 */
167 public function setAppProfile(AppsDynamiteSharedAppProfile $appProfile)
168 {
169 $this->appProfile = $appProfile;
170 }
171 /**
172 * @return AppsDynamiteSharedAppProfile
173 */
174 public function getAppProfile()
175 {
176 return $this->appProfile;
177 }
178 /**
179 * @param Attachment[]
180 */
181 public function setAttachments($attachments)
182 {
183 $this->attachments = $attachments;
184 }
185 /**
186 * @return Attachment[]
187 */
188 public function getAttachments()
189 {
190 return $this->attachments;
191 }
192 /**
193 * @param MessageAttributes
194 */
195 public function setAttributes(MessageAttributes $attributes)
196 {
197 $this->attributes = $attributes;
198 }
199 /**
200 * @return MessageAttributes
201 */
202 public function getAttributes()
203 {
204 return $this->attributes;
205 }
206 /**
207 * @param BotResponse[]
208 */
209 public function setBotResponses($botResponses)
210 {
211 $this->botResponses = $botResponses;
212 }
213 /**
214 * @return BotResponse[]
215 */
216 public function getBotResponses()
217 {
218 return $this->botResponses;
219 }
220 /**
221 * @param CommunalLabelTag[]
222 */
223 public function setCommunalLabels($communalLabels)
224 {
225 $this->communalLabels = $communalLabels;
226 }
227 /**
228 * @return CommunalLabelTag[]
229 */
230 public function getCommunalLabels()
231 {
232 return $this->communalLabels;
233 }
234 /**
235 * @param ContentReportSummary
236 */
237 public function setContentReportSummary(ContentReportSummary $contentReportSummary)
238 {
239 $this->contentReportSummary = $contentReportSummary;
240 }
241 /**
242 * @return ContentReportSummary
243 */
244 public function getContentReportSummary()
245 {
246 return $this->contentReportSummary;
247 }
248 /**
249 * @param string
250 */
251 public function setCreateTime($createTime)
252 {
253 $this->createTime = $createTime;
254 }
255 /**
256 * @return string
257 */
258 public function getCreateTime()
259 {
260 return $this->createTime;
261 }
262 /**
263 * @param UserId
264 */
265 public function setCreatorId(UserId $creatorId)
266 {
267 $this->creatorId = $creatorId;
268 }
269 /**
270 * @return UserId
271 */
272 public function getCreatorId()
273 {
274 return $this->creatorId;
275 }
276 /**
277 * @param string
278 */
279 public function setDeletableBy($deletableBy)
280 {
281 $this->deletableBy = $deletableBy;
282 }
283 /**
284 * @return string
285 */
286 public function getDeletableBy()
287 {
288 return $this->deletableBy;
289 }
290 /**
291 * @param string
292 */
293 public function setDeleteTime($deleteTime)
294 {
295 $this->deleteTime = $deleteTime;
296 }
297 /**
298 * @return string
299 */
300 public function getDeleteTime()
301 {
302 return $this->deleteTime;
303 }
304 /**
305 * @param string
306 */
307 public function setDeleteTimeForRequester($deleteTimeForRequester)
308 {
309 $this->deleteTimeForRequester = $deleteTimeForRequester;
310 }
311 /**
312 * @return string
313 */
314 public function getDeleteTimeForRequester()
315 {
316 return $this->deleteTimeForRequester;
317 }
318 /**
319 * @param bool
320 */
321 public function setDeletedByVault($deletedByVault)
322 {
323 $this->deletedByVault = $deletedByVault;
324 }
325 /**
326 * @return bool
327 */
328 public function getDeletedByVault()
329 {
330 return $this->deletedByVault;
331 }
332 /**
333 * @param DlpScanSummary
334 */
335 public function setDlpScanSummary(DlpScanSummary $dlpScanSummary)
336 {
337 $this->dlpScanSummary = $dlpScanSummary;
338 }
339 /**
340 * @return DlpScanSummary
341 */
342 public function getDlpScanSummary()
343 {
344 return $this->dlpScanSummary;
345 }
346 /**
347 * @param string
348 */
349 public function setEditableBy($editableBy)
350 {
351 $this->editableBy = $editableBy;
352 }
353 /**
354 * @return string
355 */
356 public function getEditableBy()
357 {
358 return $this->editableBy;
359 }
360 /**
361 * @param string
362 */
363 public function setFallbackText($fallbackText)
364 {
365 $this->fallbackText = $fallbackText;
366 }
367 /**
368 * @return string
369 */
370 public function getFallbackText()
371 {
372 return $this->fallbackText;
373 }
374 /**
375 * @param MessageId
376 */
377 public function setId(MessageId $id)
378 {
379 $this->id = $id;
380 }
381 /**
382 * @return MessageId
383 */
384 public function getId()
385 {
386 return $this->id;
387 }
388 /**
389 * @param bool
390 */
391 public function setIsContentPurged($isContentPurged)
392 {
393 $this->isContentPurged = $isContentPurged;
394 }
395 /**
396 * @return bool
397 */
398 public function getIsContentPurged()
399 {
400 return $this->isContentPurged;
401 }
402 /**
403 * @param bool
404 */
405 public function setIsInlineReply($isInlineReply)
406 {
407 $this->isInlineReply = $isInlineReply;
408 }
409 /**
410 * @return bool
411 */
412 public function getIsInlineReply()
413 {
414 return $this->isInlineReply;
415 }
416 /**
417 * @param string
418 */
419 public function setLastEditTime($lastEditTime)
420 {
421 $this->lastEditTime = $lastEditTime;
422 }
423 /**
424 * @return string
425 */
426 public function getLastEditTime()
427 {
428 return $this->lastEditTime;
429 }
430 /**
431 * @param string
432 */
433 public function setLastUpdateTime($lastUpdateTime)
434 {
435 $this->lastUpdateTime = $lastUpdateTime;
436 }
437 /**
438 * @return string
439 */
440 public function getLastUpdateTime()
441 {
442 return $this->lastUpdateTime;
443 }
444 /**
445 * @param string
446 */
447 public function setLocalId($localId)
448 {
449 $this->localId = $localId;
450 }
451 /**
452 * @return string
453 */
454 public function getLocalId()
455 {
456 return $this->localId;
457 }
458 /**
459 * @param AppsDynamiteSharedMessageIntegrationPayload
460 */
461 public function setMessageIntegrationPayload(AppsDynamiteSharedMessageIntegrationPayload $messageIntegrationPayload)
462 {
463 $this->messageIntegrationPayload = $messageIntegrationPayload;
464 }
465 /**
466 * @return AppsDynamiteSharedMessageIntegrationPayload
467 */
468 public function getMessageIntegrationPayload()
469 {
470 return $this->messageIntegrationPayload;
471 }
472 /**
473 * @param string
474 */
475 public function setMessageOrigin($messageOrigin)
476 {
477 $this->messageOrigin = $messageOrigin;
478 }
479 /**
480 * @return string
481 */
482 public function getMessageOrigin()
483 {
484 return $this->messageOrigin;
485 }
486 /**
487 * @param MessageReference
488 */
489 public function setMessageReference(MessageReference $messageReference)
490 {
491 $this->messageReference = $messageReference;
492 }
493 /**
494 * @return MessageReference
495 */
496 public function getMessageReference()
497 {
498 return $this->messageReference;
499 }
500 /**
501 * @param AppsDynamiteSharedMessageSearchInfo
502 */
503 public function setMessageSearchInfo(AppsDynamiteSharedMessageSearchInfo $messageSearchInfo)
504 {
505 $this->messageSearchInfo = $messageSearchInfo;
506 }
507 /**
508 * @return AppsDynamiteSharedMessageSearchInfo
509 */
510 public function getMessageSearchInfo()
511 {
512 return $this->messageSearchInfo;
513 }
514 /**
515 * @param string
516 */
517 public function setMessageState($messageState)
518 {
519 $this->messageState = $messageState;
520 }
521 /**
522 * @return string
523 */
524 public function getMessageState()
525 {
526 return $this->messageState;
527 }
528 /**
529 * @param int
530 */
531 public function setNumberOfUnicodeEmojis($numberOfUnicodeEmojis)
532 {
533 $this->numberOfUnicodeEmojis = $numberOfUnicodeEmojis;
534 }
535 /**
536 * @return int
537 */
538 public function getNumberOfUnicodeEmojis()
539 {
540 return $this->numberOfUnicodeEmojis;
541 }
542 /**
543 * @param AppsDynamiteSharedOriginAppSuggestion[]
544 */
545 public function setOriginAppSuggestions($originAppSuggestions)
546 {
547 $this->originAppSuggestions = $originAppSuggestions;
548 }
549 /**
550 * @return AppsDynamiteSharedOriginAppSuggestion[]
551 */
552 public function getOriginAppSuggestions()
553 {
554 return $this->originAppSuggestions;
555 }
556 /**
557 * @param PersonalLabelTag[]
558 */
559 public function setPersonalLabels($personalLabels)
560 {
561 $this->personalLabels = $personalLabels;
562 }
563 /**
564 * @return PersonalLabelTag[]
565 */
566 public function getPersonalLabels()
567 {
568 return $this->personalLabels;
569 }
570 /**
571 * @param PrivateMessageInfo[]
572 */
573 public function setPrivateMessageInfos($privateMessageInfos)
574 {
575 $this->privateMessageInfos = $privateMessageInfos;
576 }
577 /**
578 * @return PrivateMessageInfo[]
579 */
580 public function getPrivateMessageInfos()
581 {
582 return $this->privateMessageInfos;
583 }
584 /**
585 * @param UserId
586 */
587 public function setPrivateMessageViewer(UserId $privateMessageViewer)
588 {
589 $this->privateMessageViewer = $privateMessageViewer;
590 }
591 /**
592 * @return UserId
593 */
594 public function getPrivateMessageViewer()
595 {
596 return $this->privateMessageViewer;
597 }
598 /**
599 * @param MessageProps
600 */
601 public function setProps(MessageProps $props)
602 {
603 $this->props = $props;
604 }
605 /**
606 * @return MessageProps
607 */
608 public function getProps()
609 {
610 return $this->props;
611 }
612 /**
613 * @param string
614 */
615 public function setQuotedByState($quotedByState)
616 {
617 $this->quotedByState = $quotedByState;
618 }
619 /**
620 * @return string
621 */
622 public function getQuotedByState()
623 {
624 return $this->quotedByState;
625 }
626 /**
627 * @param QuotedMessageMetadata
628 */
629 public function setQuotedMessageMetadata(QuotedMessageMetadata $quotedMessageMetadata)
630 {
631 $this->quotedMessageMetadata = $quotedMessageMetadata;
632 }
633 /**
634 * @return QuotedMessageMetadata
635 */
636 public function getQuotedMessageMetadata()
637 {
638 return $this->quotedMessageMetadata;
639 }
640 /**
641 * @param AppsDynamiteSharedReaction[]
642 */
643 public function setReactions($reactions)
644 {
645 $this->reactions = $reactions;
646 }
647 /**
648 * @return AppsDynamiteSharedReaction[]
649 */
650 public function getReactions()
651 {
652 return $this->reactions;
653 }
654 /**
655 * @param ContentReport[]
656 */
657 public function setReports($reports)
658 {
659 $this->reports = $reports;
660 }
661 /**
662 * @return ContentReport[]
663 */
664 public function getReports()
665 {
666 return $this->reports;
667 }
668 /**
669 * @param AppsDynamiteSharedRetentionSettings
670 */
671 public function setRetentionSettings(AppsDynamiteSharedRetentionSettings $retentionSettings)
672 {
673 $this->retentionSettings = $retentionSettings;
674 }
675 /**
676 * @return AppsDynamiteSharedRetentionSettings
677 */
678 public function getRetentionSettings()
679 {
680 return $this->retentionSettings;
681 }
682 /**
683 * @param string
684 */
685 public function setRichTextFormattingType($richTextFormattingType)
686 {
687 $this->richTextFormattingType = $richTextFormattingType;
688 }
689 /**
690 * @return string
691 */
692 public function getRichTextFormattingType()
693 {
694 return $this->richTextFormattingType;
695 }
696 /**
697 * @param string
698 */
699 public function setSecondaryMessageKey($secondaryMessageKey)
700 {
701 $this->secondaryMessageKey = $secondaryMessageKey;
702 }
703 /**
704 * @return string
705 */
706 public function getSecondaryMessageKey()
707 {
708 return $this->secondaryMessageKey;
709 }
710 /**
711 * @param string
712 */
713 public function setTextBody($textBody)
714 {
715 $this->textBody = $textBody;
716 }
717 /**
718 * @return string
719 */
720 public function getTextBody()
721 {
722 return $this->textBody;
723 }
724 /**
725 * @param TombstoneMetadata
726 */
727 public function setTombstoneMetadata(TombstoneMetadata $tombstoneMetadata)
728 {
729 $this->tombstoneMetadata = $tombstoneMetadata;
730 }
731 /**
732 * @return TombstoneMetadata
733 */
734 public function getTombstoneMetadata()
735 {
736 return $this->tombstoneMetadata;
737 }
738 /**
739 * @param UserId
740 */
741 public function setUpdaterId(UserId $updaterId)
742 {
743 $this->updaterId = $updaterId;
744 }
745 /**
746 * @return UserId
747 */
748 public function getUpdaterId()
749 {
750 return $this->updaterId;
751 }
752 /**
753 * @param UploadMetadata[]
754 */
755 public function setUploadMetadata($uploadMetadata)
756 {
757 $this->uploadMetadata = $uploadMetadata;
758 }
759 /**
760 * @return UploadMetadata[]
761 */
762 public function getUploadMetadata()
763 {
764 return $this->uploadMetadata;
765 }
766}
767
768// Adding a class alias for backwards compatibility with the previous class name.
769class_alias(Message::class, 'Google_Service_CloudSearch_Message');
Note: See TracBrowser for help on using the repository browser.