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\HangoutsChat; 19 20class DeprecatedEvent extends \Google\Model 21{ 22 protected $actionType = FormAction::class; 23 protected $actionDataType = ''; 24 protected $commonType = CommonEventObject::class; 25 protected $commonDataType = ''; 26 /** 27 * @var string 28 */ 29 public $configCompleteRedirectUrl; 30 /** 31 * @var string 32 */ 33 public $dialogEventType; 34 /** 35 * @var string 36 */ 37 public $eventTime; 38 /** 39 * @var bool 40 */ 41 public $isDialogEvent; 42 protected $messageType = Message::class; 43 protected $messageDataType = ''; 44 protected $spaceType = Space::class; 45 protected $spaceDataType = ''; 46 /** 47 * @var string 48 */ 49 public $threadKey; 50 /** 51 * @var string 52 */ 53 public $token; 54 /** 55 * @var string 56 */ 57 public $type; 58 protected $userType = User::class; 59 protected $userDataType = ''; 60 61 /** 62 * @param FormAction 63 */ 64 public function setAction(FormAction $action) 65 { 66 $this->action = $action; 67 } 68 /** 69 * @return FormAction 70 */ 71 public function getAction() 72 { 73 return $this->action; 74 } 75 /** 76 * @param CommonEventObject 77 */ 78 public function setCommon(CommonEventObject $common) 79 { 80 $this->common = $common; 81 } 82 /** 83 * @return CommonEventObject 84 */ 85 public function getCommon() 86 { 87 return $this->common; 88 } 89 /** 90 * @param string 91 */ 92 public function setConfigCompleteRedirectUrl($configCompleteRedirectUrl) 93 { 94 $this->configCompleteRedirectUrl = $configCompleteRedirectUrl; 95 } 96 /** 97 * @return string 98 */ 99 public function getConfigCompleteRedirectUrl() 100 { 101 return $this->configCompleteRedirectUrl; 102 } 103 /** 104 * @param string 105 */ 106 public function setDialogEventType($dialogEventType) 107 { 108 $this->dialogEventType = $dialogEventType; 109 } 110 /** 111 * @return string 112 */ 113 public function getDialogEventType() 114 { 115 return $this->dialogEventType; 116 } 117 /** 118 * @param string 119 */ 120 public function setEventTime($eventTime) 121 { 122 $this->eventTime = $eventTime; 123 } 124 /** 125 * @return string 126 */ 127 public function getEventTime() 128 { 129 return $this->eventTime; 130 } 131 /** 132 * @param bool 133 */ 134 public function setIsDialogEvent($isDialogEvent) 135 { 136 $this->isDialogEvent = $isDialogEvent; 137 } 138 /** 139 * @return bool 140 */ 141 public function getIsDialogEvent() 142 { 143 return $this->isDialogEvent; 144 } 145 /** 146 * @param Message 147 */ 148 public function setMessage(Message $message) 149 { 150 $this->message = $message; 151 } 152 /** 153 * @return Message 154 */ 155 public function getMessage() 156 { 157 return $this->message; 158 } 159 /** 160 * @param Space 161 */ 162 public function setSpace(Space $space) 163 { 164 $this->space = $space; 165 } 166 /** 167 * @return Space 168 */ 169 public function getSpace() 170 { 171 return $this->space; 172 } 173 /** 174 * @param string 175 */ 176 public function setThreadKey($threadKey) 177 { 178 $this->threadKey = $threadKey; 179 } 180 /** 181 * @return string 182 */ 183 public function getThreadKey() 184 { 185 return $this->threadKey; 186 } 187 /** 188 * @param string 189 */ 190 public function setToken($token) 191 { 192 $this->token = $token; 193 } 194 /** 195 * @return string 196 */ 197 public function getToken() 198 { 199 return $this->token; 200 } 201 /** 202 * @param string 203 */ 204 public function setType($type) 205 { 206 $this->type = $type; 207 } 208 /** 209 * @return string 210 */ 211 public function getType() 212 { 213 return $this->type; 214 } 215 /** 216 * @param User 217 */ 218 public function setUser(User $user) 219 { 220 $this->user = $user; 221 } 222 /** 223 * @return User 224 */ 225 public function getUser() 226 { 227 return $this->user; 228 } 229} 230 231// Adding a class alias for backwards compatibility with the previous class name. 232class_alias(DeprecatedEvent::class, 'Google_Service_HangoutsChat_DeprecatedEvent'); 233