[e3d4e0a] | 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\HangoutsChat;
|
---|
| 19 |
|
---|
| 20 | class SpaceEvent extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string
|
---|
| 24 | */
|
---|
| 25 | public $eventTime;
|
---|
| 26 | /**
|
---|
| 27 | * @var string
|
---|
| 28 | */
|
---|
| 29 | public $eventType;
|
---|
| 30 | protected $membershipBatchCreatedEventDataType = MembershipBatchCreatedEventData::class;
|
---|
| 31 | protected $membershipBatchCreatedEventDataDataType = '';
|
---|
| 32 | protected $membershipBatchDeletedEventDataType = MembershipBatchDeletedEventData::class;
|
---|
| 33 | protected $membershipBatchDeletedEventDataDataType = '';
|
---|
| 34 | protected $membershipBatchUpdatedEventDataType = MembershipBatchUpdatedEventData::class;
|
---|
| 35 | protected $membershipBatchUpdatedEventDataDataType = '';
|
---|
| 36 | protected $membershipCreatedEventDataType = MembershipCreatedEventData::class;
|
---|
| 37 | protected $membershipCreatedEventDataDataType = '';
|
---|
| 38 | protected $membershipDeletedEventDataType = MembershipDeletedEventData::class;
|
---|
| 39 | protected $membershipDeletedEventDataDataType = '';
|
---|
| 40 | protected $membershipUpdatedEventDataType = MembershipUpdatedEventData::class;
|
---|
| 41 | protected $membershipUpdatedEventDataDataType = '';
|
---|
| 42 | protected $messageBatchCreatedEventDataType = MessageBatchCreatedEventData::class;
|
---|
| 43 | protected $messageBatchCreatedEventDataDataType = '';
|
---|
| 44 | protected $messageBatchDeletedEventDataType = MessageBatchDeletedEventData::class;
|
---|
| 45 | protected $messageBatchDeletedEventDataDataType = '';
|
---|
| 46 | protected $messageBatchUpdatedEventDataType = MessageBatchUpdatedEventData::class;
|
---|
| 47 | protected $messageBatchUpdatedEventDataDataType = '';
|
---|
| 48 | protected $messageCreatedEventDataType = MessageCreatedEventData::class;
|
---|
| 49 | protected $messageCreatedEventDataDataType = '';
|
---|
| 50 | protected $messageDeletedEventDataType = MessageDeletedEventData::class;
|
---|
| 51 | protected $messageDeletedEventDataDataType = '';
|
---|
| 52 | protected $messageUpdatedEventDataType = MessageUpdatedEventData::class;
|
---|
| 53 | protected $messageUpdatedEventDataDataType = '';
|
---|
| 54 | /**
|
---|
| 55 | * @var string
|
---|
| 56 | */
|
---|
| 57 | public $name;
|
---|
| 58 | protected $reactionBatchCreatedEventDataType = ReactionBatchCreatedEventData::class;
|
---|
| 59 | protected $reactionBatchCreatedEventDataDataType = '';
|
---|
| 60 | protected $reactionBatchDeletedEventDataType = ReactionBatchDeletedEventData::class;
|
---|
| 61 | protected $reactionBatchDeletedEventDataDataType = '';
|
---|
| 62 | protected $reactionCreatedEventDataType = ReactionCreatedEventData::class;
|
---|
| 63 | protected $reactionCreatedEventDataDataType = '';
|
---|
| 64 | protected $reactionDeletedEventDataType = ReactionDeletedEventData::class;
|
---|
| 65 | protected $reactionDeletedEventDataDataType = '';
|
---|
| 66 | protected $spaceBatchUpdatedEventDataType = SpaceBatchUpdatedEventData::class;
|
---|
| 67 | protected $spaceBatchUpdatedEventDataDataType = '';
|
---|
| 68 | protected $spaceUpdatedEventDataType = SpaceUpdatedEventData::class;
|
---|
| 69 | protected $spaceUpdatedEventDataDataType = '';
|
---|
| 70 |
|
---|
| 71 | /**
|
---|
| 72 | * @param string
|
---|
| 73 | */
|
---|
| 74 | public function setEventTime($eventTime)
|
---|
| 75 | {
|
---|
| 76 | $this->eventTime = $eventTime;
|
---|
| 77 | }
|
---|
| 78 | /**
|
---|
| 79 | * @return string
|
---|
| 80 | */
|
---|
| 81 | public function getEventTime()
|
---|
| 82 | {
|
---|
| 83 | return $this->eventTime;
|
---|
| 84 | }
|
---|
| 85 | /**
|
---|
| 86 | * @param string
|
---|
| 87 | */
|
---|
| 88 | public function setEventType($eventType)
|
---|
| 89 | {
|
---|
| 90 | $this->eventType = $eventType;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @return string
|
---|
| 94 | */
|
---|
| 95 | public function getEventType()
|
---|
| 96 | {
|
---|
| 97 | return $this->eventType;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @param MembershipBatchCreatedEventData
|
---|
| 101 | */
|
---|
| 102 | public function setMembershipBatchCreatedEventData(MembershipBatchCreatedEventData $membershipBatchCreatedEventData)
|
---|
| 103 | {
|
---|
| 104 | $this->membershipBatchCreatedEventData = $membershipBatchCreatedEventData;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @return MembershipBatchCreatedEventData
|
---|
| 108 | */
|
---|
| 109 | public function getMembershipBatchCreatedEventData()
|
---|
| 110 | {
|
---|
| 111 | return $this->membershipBatchCreatedEventData;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @param MembershipBatchDeletedEventData
|
---|
| 115 | */
|
---|
| 116 | public function setMembershipBatchDeletedEventData(MembershipBatchDeletedEventData $membershipBatchDeletedEventData)
|
---|
| 117 | {
|
---|
| 118 | $this->membershipBatchDeletedEventData = $membershipBatchDeletedEventData;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @return MembershipBatchDeletedEventData
|
---|
| 122 | */
|
---|
| 123 | public function getMembershipBatchDeletedEventData()
|
---|
| 124 | {
|
---|
| 125 | return $this->membershipBatchDeletedEventData;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @param MembershipBatchUpdatedEventData
|
---|
| 129 | */
|
---|
| 130 | public function setMembershipBatchUpdatedEventData(MembershipBatchUpdatedEventData $membershipBatchUpdatedEventData)
|
---|
| 131 | {
|
---|
| 132 | $this->membershipBatchUpdatedEventData = $membershipBatchUpdatedEventData;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @return MembershipBatchUpdatedEventData
|
---|
| 136 | */
|
---|
| 137 | public function getMembershipBatchUpdatedEventData()
|
---|
| 138 | {
|
---|
| 139 | return $this->membershipBatchUpdatedEventData;
|
---|
| 140 | }
|
---|
| 141 | /**
|
---|
| 142 | * @param MembershipCreatedEventData
|
---|
| 143 | */
|
---|
| 144 | public function setMembershipCreatedEventData(MembershipCreatedEventData $membershipCreatedEventData)
|
---|
| 145 | {
|
---|
| 146 | $this->membershipCreatedEventData = $membershipCreatedEventData;
|
---|
| 147 | }
|
---|
| 148 | /**
|
---|
| 149 | * @return MembershipCreatedEventData
|
---|
| 150 | */
|
---|
| 151 | public function getMembershipCreatedEventData()
|
---|
| 152 | {
|
---|
| 153 | return $this->membershipCreatedEventData;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @param MembershipDeletedEventData
|
---|
| 157 | */
|
---|
| 158 | public function setMembershipDeletedEventData(MembershipDeletedEventData $membershipDeletedEventData)
|
---|
| 159 | {
|
---|
| 160 | $this->membershipDeletedEventData = $membershipDeletedEventData;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @return MembershipDeletedEventData
|
---|
| 164 | */
|
---|
| 165 | public function getMembershipDeletedEventData()
|
---|
| 166 | {
|
---|
| 167 | return $this->membershipDeletedEventData;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @param MembershipUpdatedEventData
|
---|
| 171 | */
|
---|
| 172 | public function setMembershipUpdatedEventData(MembershipUpdatedEventData $membershipUpdatedEventData)
|
---|
| 173 | {
|
---|
| 174 | $this->membershipUpdatedEventData = $membershipUpdatedEventData;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @return MembershipUpdatedEventData
|
---|
| 178 | */
|
---|
| 179 | public function getMembershipUpdatedEventData()
|
---|
| 180 | {
|
---|
| 181 | return $this->membershipUpdatedEventData;
|
---|
| 182 | }
|
---|
| 183 | /**
|
---|
| 184 | * @param MessageBatchCreatedEventData
|
---|
| 185 | */
|
---|
| 186 | public function setMessageBatchCreatedEventData(MessageBatchCreatedEventData $messageBatchCreatedEventData)
|
---|
| 187 | {
|
---|
| 188 | $this->messageBatchCreatedEventData = $messageBatchCreatedEventData;
|
---|
| 189 | }
|
---|
| 190 | /**
|
---|
| 191 | * @return MessageBatchCreatedEventData
|
---|
| 192 | */
|
---|
| 193 | public function getMessageBatchCreatedEventData()
|
---|
| 194 | {
|
---|
| 195 | return $this->messageBatchCreatedEventData;
|
---|
| 196 | }
|
---|
| 197 | /**
|
---|
| 198 | * @param MessageBatchDeletedEventData
|
---|
| 199 | */
|
---|
| 200 | public function setMessageBatchDeletedEventData(MessageBatchDeletedEventData $messageBatchDeletedEventData)
|
---|
| 201 | {
|
---|
| 202 | $this->messageBatchDeletedEventData = $messageBatchDeletedEventData;
|
---|
| 203 | }
|
---|
| 204 | /**
|
---|
| 205 | * @return MessageBatchDeletedEventData
|
---|
| 206 | */
|
---|
| 207 | public function getMessageBatchDeletedEventData()
|
---|
| 208 | {
|
---|
| 209 | return $this->messageBatchDeletedEventData;
|
---|
| 210 | }
|
---|
| 211 | /**
|
---|
| 212 | * @param MessageBatchUpdatedEventData
|
---|
| 213 | */
|
---|
| 214 | public function setMessageBatchUpdatedEventData(MessageBatchUpdatedEventData $messageBatchUpdatedEventData)
|
---|
| 215 | {
|
---|
| 216 | $this->messageBatchUpdatedEventData = $messageBatchUpdatedEventData;
|
---|
| 217 | }
|
---|
| 218 | /**
|
---|
| 219 | * @return MessageBatchUpdatedEventData
|
---|
| 220 | */
|
---|
| 221 | public function getMessageBatchUpdatedEventData()
|
---|
| 222 | {
|
---|
| 223 | return $this->messageBatchUpdatedEventData;
|
---|
| 224 | }
|
---|
| 225 | /**
|
---|
| 226 | * @param MessageCreatedEventData
|
---|
| 227 | */
|
---|
| 228 | public function setMessageCreatedEventData(MessageCreatedEventData $messageCreatedEventData)
|
---|
| 229 | {
|
---|
| 230 | $this->messageCreatedEventData = $messageCreatedEventData;
|
---|
| 231 | }
|
---|
| 232 | /**
|
---|
| 233 | * @return MessageCreatedEventData
|
---|
| 234 | */
|
---|
| 235 | public function getMessageCreatedEventData()
|
---|
| 236 | {
|
---|
| 237 | return $this->messageCreatedEventData;
|
---|
| 238 | }
|
---|
| 239 | /**
|
---|
| 240 | * @param MessageDeletedEventData
|
---|
| 241 | */
|
---|
| 242 | public function setMessageDeletedEventData(MessageDeletedEventData $messageDeletedEventData)
|
---|
| 243 | {
|
---|
| 244 | $this->messageDeletedEventData = $messageDeletedEventData;
|
---|
| 245 | }
|
---|
| 246 | /**
|
---|
| 247 | * @return MessageDeletedEventData
|
---|
| 248 | */
|
---|
| 249 | public function getMessageDeletedEventData()
|
---|
| 250 | {
|
---|
| 251 | return $this->messageDeletedEventData;
|
---|
| 252 | }
|
---|
| 253 | /**
|
---|
| 254 | * @param MessageUpdatedEventData
|
---|
| 255 | */
|
---|
| 256 | public function setMessageUpdatedEventData(MessageUpdatedEventData $messageUpdatedEventData)
|
---|
| 257 | {
|
---|
| 258 | $this->messageUpdatedEventData = $messageUpdatedEventData;
|
---|
| 259 | }
|
---|
| 260 | /**
|
---|
| 261 | * @return MessageUpdatedEventData
|
---|
| 262 | */
|
---|
| 263 | public function getMessageUpdatedEventData()
|
---|
| 264 | {
|
---|
| 265 | return $this->messageUpdatedEventData;
|
---|
| 266 | }
|
---|
| 267 | /**
|
---|
| 268 | * @param string
|
---|
| 269 | */
|
---|
| 270 | public function setName($name)
|
---|
| 271 | {
|
---|
| 272 | $this->name = $name;
|
---|
| 273 | }
|
---|
| 274 | /**
|
---|
| 275 | * @return string
|
---|
| 276 | */
|
---|
| 277 | public function getName()
|
---|
| 278 | {
|
---|
| 279 | return $this->name;
|
---|
| 280 | }
|
---|
| 281 | /**
|
---|
| 282 | * @param ReactionBatchCreatedEventData
|
---|
| 283 | */
|
---|
| 284 | public function setReactionBatchCreatedEventData(ReactionBatchCreatedEventData $reactionBatchCreatedEventData)
|
---|
| 285 | {
|
---|
| 286 | $this->reactionBatchCreatedEventData = $reactionBatchCreatedEventData;
|
---|
| 287 | }
|
---|
| 288 | /**
|
---|
| 289 | * @return ReactionBatchCreatedEventData
|
---|
| 290 | */
|
---|
| 291 | public function getReactionBatchCreatedEventData()
|
---|
| 292 | {
|
---|
| 293 | return $this->reactionBatchCreatedEventData;
|
---|
| 294 | }
|
---|
| 295 | /**
|
---|
| 296 | * @param ReactionBatchDeletedEventData
|
---|
| 297 | */
|
---|
| 298 | public function setReactionBatchDeletedEventData(ReactionBatchDeletedEventData $reactionBatchDeletedEventData)
|
---|
| 299 | {
|
---|
| 300 | $this->reactionBatchDeletedEventData = $reactionBatchDeletedEventData;
|
---|
| 301 | }
|
---|
| 302 | /**
|
---|
| 303 | * @return ReactionBatchDeletedEventData
|
---|
| 304 | */
|
---|
| 305 | public function getReactionBatchDeletedEventData()
|
---|
| 306 | {
|
---|
| 307 | return $this->reactionBatchDeletedEventData;
|
---|
| 308 | }
|
---|
| 309 | /**
|
---|
| 310 | * @param ReactionCreatedEventData
|
---|
| 311 | */
|
---|
| 312 | public function setReactionCreatedEventData(ReactionCreatedEventData $reactionCreatedEventData)
|
---|
| 313 | {
|
---|
| 314 | $this->reactionCreatedEventData = $reactionCreatedEventData;
|
---|
| 315 | }
|
---|
| 316 | /**
|
---|
| 317 | * @return ReactionCreatedEventData
|
---|
| 318 | */
|
---|
| 319 | public function getReactionCreatedEventData()
|
---|
| 320 | {
|
---|
| 321 | return $this->reactionCreatedEventData;
|
---|
| 322 | }
|
---|
| 323 | /**
|
---|
| 324 | * @param ReactionDeletedEventData
|
---|
| 325 | */
|
---|
| 326 | public function setReactionDeletedEventData(ReactionDeletedEventData $reactionDeletedEventData)
|
---|
| 327 | {
|
---|
| 328 | $this->reactionDeletedEventData = $reactionDeletedEventData;
|
---|
| 329 | }
|
---|
| 330 | /**
|
---|
| 331 | * @return ReactionDeletedEventData
|
---|
| 332 | */
|
---|
| 333 | public function getReactionDeletedEventData()
|
---|
| 334 | {
|
---|
| 335 | return $this->reactionDeletedEventData;
|
---|
| 336 | }
|
---|
| 337 | /**
|
---|
| 338 | * @param SpaceBatchUpdatedEventData
|
---|
| 339 | */
|
---|
| 340 | public function setSpaceBatchUpdatedEventData(SpaceBatchUpdatedEventData $spaceBatchUpdatedEventData)
|
---|
| 341 | {
|
---|
| 342 | $this->spaceBatchUpdatedEventData = $spaceBatchUpdatedEventData;
|
---|
| 343 | }
|
---|
| 344 | /**
|
---|
| 345 | * @return SpaceBatchUpdatedEventData
|
---|
| 346 | */
|
---|
| 347 | public function getSpaceBatchUpdatedEventData()
|
---|
| 348 | {
|
---|
| 349 | return $this->spaceBatchUpdatedEventData;
|
---|
| 350 | }
|
---|
| 351 | /**
|
---|
| 352 | * @param SpaceUpdatedEventData
|
---|
| 353 | */
|
---|
| 354 | public function setSpaceUpdatedEventData(SpaceUpdatedEventData $spaceUpdatedEventData)
|
---|
| 355 | {
|
---|
| 356 | $this->spaceUpdatedEventData = $spaceUpdatedEventData;
|
---|
| 357 | }
|
---|
| 358 | /**
|
---|
| 359 | * @return SpaceUpdatedEventData
|
---|
| 360 | */
|
---|
| 361 | public function getSpaceUpdatedEventData()
|
---|
| 362 | {
|
---|
| 363 | return $this->spaceUpdatedEventData;
|
---|
| 364 | }
|
---|
| 365 | }
|
---|
| 366 |
|
---|
| 367 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 368 | class_alias(SpaceEvent::class, 'Google_Service_HangoutsChat_SpaceEvent');
|
---|