source: vendor/google/apiclient-services/src/CloudSearch/ThreadUpdate.php

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

Upload project files

  • Property mode set to 100644
File size: 5.3 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 ThreadUpdate extends \Google\Collection
21{
22 protected $collection_key = 'preState';
23 protected $attributeRemovedType = AttributeRemoved::class;
24 protected $attributeRemovedDataType = '';
25 protected $attributeSetType = AttributeSet::class;
26 protected $attributeSetDataType = '';
27 protected $labelAddedType = LabelAdded::class;
28 protected $labelAddedDataType = '';
29 protected $labelRemovedType = LabelRemoved::class;
30 protected $labelRemovedDataType = '';
31 /**
32 * @var string
33 */
34 public $lastHistoryRecordId;
35 protected $messageAddedType = MessageAdded::class;
36 protected $messageAddedDataType = '';
37 protected $messageDeletedType = MessageDeleted::class;
38 protected $messageDeletedDataType = '';
39 protected $originalThreadKeyType = MultiKey::class;
40 protected $originalThreadKeyDataType = '';
41 protected $preStateType = PreState::class;
42 protected $preStateDataType = 'array';
43 protected $threadKeyType = MultiKey::class;
44 protected $threadKeyDataType = '';
45 protected $threadKeySetType = ThreadKeySet::class;
46 protected $threadKeySetDataType = '';
47 /**
48 * @var string
49 */
50 public $threadLocator;
51 protected $topicStateUpdateType = TopicStateUpdate::class;
52 protected $topicStateUpdateDataType = '';
53
54 /**
55 * @param AttributeRemoved
56 */
57 public function setAttributeRemoved(AttributeRemoved $attributeRemoved)
58 {
59 $this->attributeRemoved = $attributeRemoved;
60 }
61 /**
62 * @return AttributeRemoved
63 */
64 public function getAttributeRemoved()
65 {
66 return $this->attributeRemoved;
67 }
68 /**
69 * @param AttributeSet
70 */
71 public function setAttributeSet(AttributeSet $attributeSet)
72 {
73 $this->attributeSet = $attributeSet;
74 }
75 /**
76 * @return AttributeSet
77 */
78 public function getAttributeSet()
79 {
80 return $this->attributeSet;
81 }
82 /**
83 * @param LabelAdded
84 */
85 public function setLabelAdded(LabelAdded $labelAdded)
86 {
87 $this->labelAdded = $labelAdded;
88 }
89 /**
90 * @return LabelAdded
91 */
92 public function getLabelAdded()
93 {
94 return $this->labelAdded;
95 }
96 /**
97 * @param LabelRemoved
98 */
99 public function setLabelRemoved(LabelRemoved $labelRemoved)
100 {
101 $this->labelRemoved = $labelRemoved;
102 }
103 /**
104 * @return LabelRemoved
105 */
106 public function getLabelRemoved()
107 {
108 return $this->labelRemoved;
109 }
110 /**
111 * @param string
112 */
113 public function setLastHistoryRecordId($lastHistoryRecordId)
114 {
115 $this->lastHistoryRecordId = $lastHistoryRecordId;
116 }
117 /**
118 * @return string
119 */
120 public function getLastHistoryRecordId()
121 {
122 return $this->lastHistoryRecordId;
123 }
124 /**
125 * @param MessageAdded
126 */
127 public function setMessageAdded(MessageAdded $messageAdded)
128 {
129 $this->messageAdded = $messageAdded;
130 }
131 /**
132 * @return MessageAdded
133 */
134 public function getMessageAdded()
135 {
136 return $this->messageAdded;
137 }
138 /**
139 * @param MessageDeleted
140 */
141 public function setMessageDeleted(MessageDeleted $messageDeleted)
142 {
143 $this->messageDeleted = $messageDeleted;
144 }
145 /**
146 * @return MessageDeleted
147 */
148 public function getMessageDeleted()
149 {
150 return $this->messageDeleted;
151 }
152 /**
153 * @param MultiKey
154 */
155 public function setOriginalThreadKey(MultiKey $originalThreadKey)
156 {
157 $this->originalThreadKey = $originalThreadKey;
158 }
159 /**
160 * @return MultiKey
161 */
162 public function getOriginalThreadKey()
163 {
164 return $this->originalThreadKey;
165 }
166 /**
167 * @param PreState[]
168 */
169 public function setPreState($preState)
170 {
171 $this->preState = $preState;
172 }
173 /**
174 * @return PreState[]
175 */
176 public function getPreState()
177 {
178 return $this->preState;
179 }
180 /**
181 * @param MultiKey
182 */
183 public function setThreadKey(MultiKey $threadKey)
184 {
185 $this->threadKey = $threadKey;
186 }
187 /**
188 * @return MultiKey
189 */
190 public function getThreadKey()
191 {
192 return $this->threadKey;
193 }
194 /**
195 * @param ThreadKeySet
196 */
197 public function setThreadKeySet(ThreadKeySet $threadKeySet)
198 {
199 $this->threadKeySet = $threadKeySet;
200 }
201 /**
202 * @return ThreadKeySet
203 */
204 public function getThreadKeySet()
205 {
206 return $this->threadKeySet;
207 }
208 /**
209 * @param string
210 */
211 public function setThreadLocator($threadLocator)
212 {
213 $this->threadLocator = $threadLocator;
214 }
215 /**
216 * @return string
217 */
218 public function getThreadLocator()
219 {
220 return $this->threadLocator;
221 }
222 /**
223 * @param TopicStateUpdate
224 */
225 public function setTopicStateUpdate(TopicStateUpdate $topicStateUpdate)
226 {
227 $this->topicStateUpdate = $topicStateUpdate;
228 }
229 /**
230 * @return TopicStateUpdate
231 */
232 public function getTopicStateUpdate()
233 {
234 return $this->topicStateUpdate;
235 }
236}
237
238// Adding a class alias for backwards compatibility with the previous class name.
239class_alias(ThreadUpdate::class, 'Google_Service_CloudSearch_ThreadUpdate');
Note: See TracBrowser for help on using the repository browser.