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 QuotedMessageMetadata 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 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $botAttachmentState;
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $createTimeMicros;
|
---|
35 | protected $creatorIdType = UserId::class;
|
---|
36 | protected $creatorIdDataType = '';
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $lastEditTimeMicros;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $lastUpdateTimeWhenQuotedMicros;
|
---|
45 | protected $messageIdType = MessageId::class;
|
---|
46 | protected $messageIdDataType = '';
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $messageState;
|
---|
51 | protected $retentionSettingsType = AppsDynamiteSharedRetentionSettings::class;
|
---|
52 | protected $retentionSettingsDataType = '';
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $textBody;
|
---|
57 | protected $updaterIdType = UserId::class;
|
---|
58 | protected $updaterIdDataType = '';
|
---|
59 | protected $uploadMetadataType = UploadMetadata::class;
|
---|
60 | protected $uploadMetadataDataType = 'array';
|
---|
61 |
|
---|
62 | /**
|
---|
63 | * @param Annotation[]
|
---|
64 | */
|
---|
65 | public function setAnnotations($annotations)
|
---|
66 | {
|
---|
67 | $this->annotations = $annotations;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @return Annotation[]
|
---|
71 | */
|
---|
72 | public function getAnnotations()
|
---|
73 | {
|
---|
74 | return $this->annotations;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @param AppsDynamiteSharedAppProfile
|
---|
78 | */
|
---|
79 | public function setAppProfile(AppsDynamiteSharedAppProfile $appProfile)
|
---|
80 | {
|
---|
81 | $this->appProfile = $appProfile;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @return AppsDynamiteSharedAppProfile
|
---|
85 | */
|
---|
86 | public function getAppProfile()
|
---|
87 | {
|
---|
88 | return $this->appProfile;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @param string
|
---|
92 | */
|
---|
93 | public function setBotAttachmentState($botAttachmentState)
|
---|
94 | {
|
---|
95 | $this->botAttachmentState = $botAttachmentState;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return string
|
---|
99 | */
|
---|
100 | public function getBotAttachmentState()
|
---|
101 | {
|
---|
102 | return $this->botAttachmentState;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param string
|
---|
106 | */
|
---|
107 | public function setCreateTimeMicros($createTimeMicros)
|
---|
108 | {
|
---|
109 | $this->createTimeMicros = $createTimeMicros;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return string
|
---|
113 | */
|
---|
114 | public function getCreateTimeMicros()
|
---|
115 | {
|
---|
116 | return $this->createTimeMicros;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param UserId
|
---|
120 | */
|
---|
121 | public function setCreatorId(UserId $creatorId)
|
---|
122 | {
|
---|
123 | $this->creatorId = $creatorId;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return UserId
|
---|
127 | */
|
---|
128 | public function getCreatorId()
|
---|
129 | {
|
---|
130 | return $this->creatorId;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param string
|
---|
134 | */
|
---|
135 | public function setLastEditTimeMicros($lastEditTimeMicros)
|
---|
136 | {
|
---|
137 | $this->lastEditTimeMicros = $lastEditTimeMicros;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return string
|
---|
141 | */
|
---|
142 | public function getLastEditTimeMicros()
|
---|
143 | {
|
---|
144 | return $this->lastEditTimeMicros;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param string
|
---|
148 | */
|
---|
149 | public function setLastUpdateTimeWhenQuotedMicros($lastUpdateTimeWhenQuotedMicros)
|
---|
150 | {
|
---|
151 | $this->lastUpdateTimeWhenQuotedMicros = $lastUpdateTimeWhenQuotedMicros;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return string
|
---|
155 | */
|
---|
156 | public function getLastUpdateTimeWhenQuotedMicros()
|
---|
157 | {
|
---|
158 | return $this->lastUpdateTimeWhenQuotedMicros;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param MessageId
|
---|
162 | */
|
---|
163 | public function setMessageId(MessageId $messageId)
|
---|
164 | {
|
---|
165 | $this->messageId = $messageId;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return MessageId
|
---|
169 | */
|
---|
170 | public function getMessageId()
|
---|
171 | {
|
---|
172 | return $this->messageId;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param string
|
---|
176 | */
|
---|
177 | public function setMessageState($messageState)
|
---|
178 | {
|
---|
179 | $this->messageState = $messageState;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return string
|
---|
183 | */
|
---|
184 | public function getMessageState()
|
---|
185 | {
|
---|
186 | return $this->messageState;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @param AppsDynamiteSharedRetentionSettings
|
---|
190 | */
|
---|
191 | public function setRetentionSettings(AppsDynamiteSharedRetentionSettings $retentionSettings)
|
---|
192 | {
|
---|
193 | $this->retentionSettings = $retentionSettings;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @return AppsDynamiteSharedRetentionSettings
|
---|
197 | */
|
---|
198 | public function getRetentionSettings()
|
---|
199 | {
|
---|
200 | return $this->retentionSettings;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @param string
|
---|
204 | */
|
---|
205 | public function setTextBody($textBody)
|
---|
206 | {
|
---|
207 | $this->textBody = $textBody;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return string
|
---|
211 | */
|
---|
212 | public function getTextBody()
|
---|
213 | {
|
---|
214 | return $this->textBody;
|
---|
215 | }
|
---|
216 | /**
|
---|
217 | * @param UserId
|
---|
218 | */
|
---|
219 | public function setUpdaterId(UserId $updaterId)
|
---|
220 | {
|
---|
221 | $this->updaterId = $updaterId;
|
---|
222 | }
|
---|
223 | /**
|
---|
224 | * @return UserId
|
---|
225 | */
|
---|
226 | public function getUpdaterId()
|
---|
227 | {
|
---|
228 | return $this->updaterId;
|
---|
229 | }
|
---|
230 | /**
|
---|
231 | * @param UploadMetadata[]
|
---|
232 | */
|
---|
233 | public function setUploadMetadata($uploadMetadata)
|
---|
234 | {
|
---|
235 | $this->uploadMetadata = $uploadMetadata;
|
---|
236 | }
|
---|
237 | /**
|
---|
238 | * @return UploadMetadata[]
|
---|
239 | */
|
---|
240 | public function getUploadMetadata()
|
---|
241 | {
|
---|
242 | return $this->uploadMetadata;
|
---|
243 | }
|
---|
244 | }
|
---|
245 |
|
---|
246 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
247 | class_alias(QuotedMessageMetadata::class, 'Google_Service_CloudSearch_QuotedMessageMetadata');
|
---|