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 AppsDynamiteQuotedMessageMetadata extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'uploadMetadata';
|
---|
23 | protected $annotationsType = AppsDynamiteAnnotation::class;
|
---|
24 | protected $annotationsDataType = 'array';
|
---|
25 | protected $appProfileType = AppsDynamiteSharedAppProfile::class;
|
---|
26 | protected $appProfileDataType = '';
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $botAttachmentState;
|
---|
31 | protected $creatorIdType = AppsDynamiteUserId::class;
|
---|
32 | protected $creatorIdDataType = '';
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $lastUpdateTimeWhenQuotedMicros;
|
---|
37 | protected $messageIdType = AppsDynamiteMessageId::class;
|
---|
38 | protected $messageIdDataType = '';
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $messageState;
|
---|
43 | protected $retentionSettingsType = AppsDynamiteSharedRetentionSettings::class;
|
---|
44 | protected $retentionSettingsDataType = '';
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $textBody;
|
---|
49 | protected $uploadMetadataType = AppsDynamiteUploadMetadata::class;
|
---|
50 | protected $uploadMetadataDataType = 'array';
|
---|
51 |
|
---|
52 | /**
|
---|
53 | * @param AppsDynamiteAnnotation[]
|
---|
54 | */
|
---|
55 | public function setAnnotations($annotations)
|
---|
56 | {
|
---|
57 | $this->annotations = $annotations;
|
---|
58 | }
|
---|
59 | /**
|
---|
60 | * @return AppsDynamiteAnnotation[]
|
---|
61 | */
|
---|
62 | public function getAnnotations()
|
---|
63 | {
|
---|
64 | return $this->annotations;
|
---|
65 | }
|
---|
66 | /**
|
---|
67 | * @param AppsDynamiteSharedAppProfile
|
---|
68 | */
|
---|
69 | public function setAppProfile(AppsDynamiteSharedAppProfile $appProfile)
|
---|
70 | {
|
---|
71 | $this->appProfile = $appProfile;
|
---|
72 | }
|
---|
73 | /**
|
---|
74 | * @return AppsDynamiteSharedAppProfile
|
---|
75 | */
|
---|
76 | public function getAppProfile()
|
---|
77 | {
|
---|
78 | return $this->appProfile;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @param string
|
---|
82 | */
|
---|
83 | public function setBotAttachmentState($botAttachmentState)
|
---|
84 | {
|
---|
85 | $this->botAttachmentState = $botAttachmentState;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @return string
|
---|
89 | */
|
---|
90 | public function getBotAttachmentState()
|
---|
91 | {
|
---|
92 | return $this->botAttachmentState;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @param AppsDynamiteUserId
|
---|
96 | */
|
---|
97 | public function setCreatorId(AppsDynamiteUserId $creatorId)
|
---|
98 | {
|
---|
99 | $this->creatorId = $creatorId;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @return AppsDynamiteUserId
|
---|
103 | */
|
---|
104 | public function getCreatorId()
|
---|
105 | {
|
---|
106 | return $this->creatorId;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @param string
|
---|
110 | */
|
---|
111 | public function setLastUpdateTimeWhenQuotedMicros($lastUpdateTimeWhenQuotedMicros)
|
---|
112 | {
|
---|
113 | $this->lastUpdateTimeWhenQuotedMicros = $lastUpdateTimeWhenQuotedMicros;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @return string
|
---|
117 | */
|
---|
118 | public function getLastUpdateTimeWhenQuotedMicros()
|
---|
119 | {
|
---|
120 | return $this->lastUpdateTimeWhenQuotedMicros;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @param AppsDynamiteMessageId
|
---|
124 | */
|
---|
125 | public function setMessageId(AppsDynamiteMessageId $messageId)
|
---|
126 | {
|
---|
127 | $this->messageId = $messageId;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @return AppsDynamiteMessageId
|
---|
131 | */
|
---|
132 | public function getMessageId()
|
---|
133 | {
|
---|
134 | return $this->messageId;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @param string
|
---|
138 | */
|
---|
139 | public function setMessageState($messageState)
|
---|
140 | {
|
---|
141 | $this->messageState = $messageState;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @return string
|
---|
145 | */
|
---|
146 | public function getMessageState()
|
---|
147 | {
|
---|
148 | return $this->messageState;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @param AppsDynamiteSharedRetentionSettings
|
---|
152 | */
|
---|
153 | public function setRetentionSettings(AppsDynamiteSharedRetentionSettings $retentionSettings)
|
---|
154 | {
|
---|
155 | $this->retentionSettings = $retentionSettings;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @return AppsDynamiteSharedRetentionSettings
|
---|
159 | */
|
---|
160 | public function getRetentionSettings()
|
---|
161 | {
|
---|
162 | return $this->retentionSettings;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @param string
|
---|
166 | */
|
---|
167 | public function setTextBody($textBody)
|
---|
168 | {
|
---|
169 | $this->textBody = $textBody;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @return string
|
---|
173 | */
|
---|
174 | public function getTextBody()
|
---|
175 | {
|
---|
176 | return $this->textBody;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @param AppsDynamiteUploadMetadata[]
|
---|
180 | */
|
---|
181 | public function setUploadMetadata($uploadMetadata)
|
---|
182 | {
|
---|
183 | $this->uploadMetadata = $uploadMetadata;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @return AppsDynamiteUploadMetadata[]
|
---|
187 | */
|
---|
188 | public function getUploadMetadata()
|
---|
189 | {
|
---|
190 | return $this->uploadMetadata;
|
---|
191 | }
|
---|
192 | }
|
---|
193 |
|
---|
194 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
195 | class_alias(AppsDynamiteQuotedMessageMetadata::class, 'Google_Service_CloudSearch_AppsDynamiteQuotedMessageMetadata');
|
---|