[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 Space extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $accessSettingsType = AccessSettings::class;
|
---|
| 23 | protected $accessSettingsDataType = '';
|
---|
| 24 | /**
|
---|
| 25 | * @var bool
|
---|
| 26 | */
|
---|
| 27 | public $adminInstalled;
|
---|
| 28 | /**
|
---|
| 29 | * @var string
|
---|
| 30 | */
|
---|
| 31 | public $createTime;
|
---|
| 32 | /**
|
---|
| 33 | * @var string
|
---|
| 34 | */
|
---|
| 35 | public $displayName;
|
---|
| 36 | /**
|
---|
| 37 | * @var bool
|
---|
| 38 | */
|
---|
| 39 | public $externalUserAllowed;
|
---|
| 40 | /**
|
---|
| 41 | * @var bool
|
---|
| 42 | */
|
---|
| 43 | public $importMode;
|
---|
| 44 | /**
|
---|
| 45 | * @var string
|
---|
| 46 | */
|
---|
| 47 | public $lastActiveTime;
|
---|
| 48 | protected $membershipCountType = MembershipCount::class;
|
---|
| 49 | protected $membershipCountDataType = '';
|
---|
| 50 | /**
|
---|
| 51 | * @var string
|
---|
| 52 | */
|
---|
| 53 | public $name;
|
---|
| 54 | protected $permissionSettingsType = PermissionSettings::class;
|
---|
| 55 | protected $permissionSettingsDataType = '';
|
---|
| 56 | /**
|
---|
| 57 | * @var string
|
---|
| 58 | */
|
---|
| 59 | public $predefinedPermissionSettings;
|
---|
| 60 | /**
|
---|
| 61 | * @var bool
|
---|
| 62 | */
|
---|
| 63 | public $singleUserBotDm;
|
---|
| 64 | protected $spaceDetailsType = SpaceDetails::class;
|
---|
| 65 | protected $spaceDetailsDataType = '';
|
---|
| 66 | /**
|
---|
| 67 | * @var string
|
---|
| 68 | */
|
---|
| 69 | public $spaceHistoryState;
|
---|
| 70 | /**
|
---|
| 71 | * @var string
|
---|
| 72 | */
|
---|
| 73 | public $spaceThreadingState;
|
---|
| 74 | /**
|
---|
| 75 | * @var string
|
---|
| 76 | */
|
---|
| 77 | public $spaceType;
|
---|
| 78 | /**
|
---|
| 79 | * @var string
|
---|
| 80 | */
|
---|
| 81 | public $spaceUri;
|
---|
| 82 | /**
|
---|
| 83 | * @var bool
|
---|
| 84 | */
|
---|
| 85 | public $threaded;
|
---|
| 86 | /**
|
---|
| 87 | * @var string
|
---|
| 88 | */
|
---|
| 89 | public $type;
|
---|
| 90 |
|
---|
| 91 | /**
|
---|
| 92 | * @param AccessSettings
|
---|
| 93 | */
|
---|
| 94 | public function setAccessSettings(AccessSettings $accessSettings)
|
---|
| 95 | {
|
---|
| 96 | $this->accessSettings = $accessSettings;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @return AccessSettings
|
---|
| 100 | */
|
---|
| 101 | public function getAccessSettings()
|
---|
| 102 | {
|
---|
| 103 | return $this->accessSettings;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @param bool
|
---|
| 107 | */
|
---|
| 108 | public function setAdminInstalled($adminInstalled)
|
---|
| 109 | {
|
---|
| 110 | $this->adminInstalled = $adminInstalled;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @return bool
|
---|
| 114 | */
|
---|
| 115 | public function getAdminInstalled()
|
---|
| 116 | {
|
---|
| 117 | return $this->adminInstalled;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @param string
|
---|
| 121 | */
|
---|
| 122 | public function setCreateTime($createTime)
|
---|
| 123 | {
|
---|
| 124 | $this->createTime = $createTime;
|
---|
| 125 | }
|
---|
| 126 | /**
|
---|
| 127 | * @return string
|
---|
| 128 | */
|
---|
| 129 | public function getCreateTime()
|
---|
| 130 | {
|
---|
| 131 | return $this->createTime;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @param string
|
---|
| 135 | */
|
---|
| 136 | public function setDisplayName($displayName)
|
---|
| 137 | {
|
---|
| 138 | $this->displayName = $displayName;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @return string
|
---|
| 142 | */
|
---|
| 143 | public function getDisplayName()
|
---|
| 144 | {
|
---|
| 145 | return $this->displayName;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @param bool
|
---|
| 149 | */
|
---|
| 150 | public function setExternalUserAllowed($externalUserAllowed)
|
---|
| 151 | {
|
---|
| 152 | $this->externalUserAllowed = $externalUserAllowed;
|
---|
| 153 | }
|
---|
| 154 | /**
|
---|
| 155 | * @return bool
|
---|
| 156 | */
|
---|
| 157 | public function getExternalUserAllowed()
|
---|
| 158 | {
|
---|
| 159 | return $this->externalUserAllowed;
|
---|
| 160 | }
|
---|
| 161 | /**
|
---|
| 162 | * @param bool
|
---|
| 163 | */
|
---|
| 164 | public function setImportMode($importMode)
|
---|
| 165 | {
|
---|
| 166 | $this->importMode = $importMode;
|
---|
| 167 | }
|
---|
| 168 | /**
|
---|
| 169 | * @return bool
|
---|
| 170 | */
|
---|
| 171 | public function getImportMode()
|
---|
| 172 | {
|
---|
| 173 | return $this->importMode;
|
---|
| 174 | }
|
---|
| 175 | /**
|
---|
| 176 | * @param string
|
---|
| 177 | */
|
---|
| 178 | public function setLastActiveTime($lastActiveTime)
|
---|
| 179 | {
|
---|
| 180 | $this->lastActiveTime = $lastActiveTime;
|
---|
| 181 | }
|
---|
| 182 | /**
|
---|
| 183 | * @return string
|
---|
| 184 | */
|
---|
| 185 | public function getLastActiveTime()
|
---|
| 186 | {
|
---|
| 187 | return $this->lastActiveTime;
|
---|
| 188 | }
|
---|
| 189 | /**
|
---|
| 190 | * @param MembershipCount
|
---|
| 191 | */
|
---|
| 192 | public function setMembershipCount(MembershipCount $membershipCount)
|
---|
| 193 | {
|
---|
| 194 | $this->membershipCount = $membershipCount;
|
---|
| 195 | }
|
---|
| 196 | /**
|
---|
| 197 | * @return MembershipCount
|
---|
| 198 | */
|
---|
| 199 | public function getMembershipCount()
|
---|
| 200 | {
|
---|
| 201 | return $this->membershipCount;
|
---|
| 202 | }
|
---|
| 203 | /**
|
---|
| 204 | * @param string
|
---|
| 205 | */
|
---|
| 206 | public function setName($name)
|
---|
| 207 | {
|
---|
| 208 | $this->name = $name;
|
---|
| 209 | }
|
---|
| 210 | /**
|
---|
| 211 | * @return string
|
---|
| 212 | */
|
---|
| 213 | public function getName()
|
---|
| 214 | {
|
---|
| 215 | return $this->name;
|
---|
| 216 | }
|
---|
| 217 | /**
|
---|
| 218 | * @param PermissionSettings
|
---|
| 219 | */
|
---|
| 220 | public function setPermissionSettings(PermissionSettings $permissionSettings)
|
---|
| 221 | {
|
---|
| 222 | $this->permissionSettings = $permissionSettings;
|
---|
| 223 | }
|
---|
| 224 | /**
|
---|
| 225 | * @return PermissionSettings
|
---|
| 226 | */
|
---|
| 227 | public function getPermissionSettings()
|
---|
| 228 | {
|
---|
| 229 | return $this->permissionSettings;
|
---|
| 230 | }
|
---|
| 231 | /**
|
---|
| 232 | * @param string
|
---|
| 233 | */
|
---|
| 234 | public function setPredefinedPermissionSettings($predefinedPermissionSettings)
|
---|
| 235 | {
|
---|
| 236 | $this->predefinedPermissionSettings = $predefinedPermissionSettings;
|
---|
| 237 | }
|
---|
| 238 | /**
|
---|
| 239 | * @return string
|
---|
| 240 | */
|
---|
| 241 | public function getPredefinedPermissionSettings()
|
---|
| 242 | {
|
---|
| 243 | return $this->predefinedPermissionSettings;
|
---|
| 244 | }
|
---|
| 245 | /**
|
---|
| 246 | * @param bool
|
---|
| 247 | */
|
---|
| 248 | public function setSingleUserBotDm($singleUserBotDm)
|
---|
| 249 | {
|
---|
| 250 | $this->singleUserBotDm = $singleUserBotDm;
|
---|
| 251 | }
|
---|
| 252 | /**
|
---|
| 253 | * @return bool
|
---|
| 254 | */
|
---|
| 255 | public function getSingleUserBotDm()
|
---|
| 256 | {
|
---|
| 257 | return $this->singleUserBotDm;
|
---|
| 258 | }
|
---|
| 259 | /**
|
---|
| 260 | * @param SpaceDetails
|
---|
| 261 | */
|
---|
| 262 | public function setSpaceDetails(SpaceDetails $spaceDetails)
|
---|
| 263 | {
|
---|
| 264 | $this->spaceDetails = $spaceDetails;
|
---|
| 265 | }
|
---|
| 266 | /**
|
---|
| 267 | * @return SpaceDetails
|
---|
| 268 | */
|
---|
| 269 | public function getSpaceDetails()
|
---|
| 270 | {
|
---|
| 271 | return $this->spaceDetails;
|
---|
| 272 | }
|
---|
| 273 | /**
|
---|
| 274 | * @param string
|
---|
| 275 | */
|
---|
| 276 | public function setSpaceHistoryState($spaceHistoryState)
|
---|
| 277 | {
|
---|
| 278 | $this->spaceHistoryState = $spaceHistoryState;
|
---|
| 279 | }
|
---|
| 280 | /**
|
---|
| 281 | * @return string
|
---|
| 282 | */
|
---|
| 283 | public function getSpaceHistoryState()
|
---|
| 284 | {
|
---|
| 285 | return $this->spaceHistoryState;
|
---|
| 286 | }
|
---|
| 287 | /**
|
---|
| 288 | * @param string
|
---|
| 289 | */
|
---|
| 290 | public function setSpaceThreadingState($spaceThreadingState)
|
---|
| 291 | {
|
---|
| 292 | $this->spaceThreadingState = $spaceThreadingState;
|
---|
| 293 | }
|
---|
| 294 | /**
|
---|
| 295 | * @return string
|
---|
| 296 | */
|
---|
| 297 | public function getSpaceThreadingState()
|
---|
| 298 | {
|
---|
| 299 | return $this->spaceThreadingState;
|
---|
| 300 | }
|
---|
| 301 | /**
|
---|
| 302 | * @param string
|
---|
| 303 | */
|
---|
| 304 | public function setSpaceType($spaceType)
|
---|
| 305 | {
|
---|
| 306 | $this->spaceType = $spaceType;
|
---|
| 307 | }
|
---|
| 308 | /**
|
---|
| 309 | * @return string
|
---|
| 310 | */
|
---|
| 311 | public function getSpaceType()
|
---|
| 312 | {
|
---|
| 313 | return $this->spaceType;
|
---|
| 314 | }
|
---|
| 315 | /**
|
---|
| 316 | * @param string
|
---|
| 317 | */
|
---|
| 318 | public function setSpaceUri($spaceUri)
|
---|
| 319 | {
|
---|
| 320 | $this->spaceUri = $spaceUri;
|
---|
| 321 | }
|
---|
| 322 | /**
|
---|
| 323 | * @return string
|
---|
| 324 | */
|
---|
| 325 | public function getSpaceUri()
|
---|
| 326 | {
|
---|
| 327 | return $this->spaceUri;
|
---|
| 328 | }
|
---|
| 329 | /**
|
---|
| 330 | * @param bool
|
---|
| 331 | */
|
---|
| 332 | public function setThreaded($threaded)
|
---|
| 333 | {
|
---|
| 334 | $this->threaded = $threaded;
|
---|
| 335 | }
|
---|
| 336 | /**
|
---|
| 337 | * @return bool
|
---|
| 338 | */
|
---|
| 339 | public function getThreaded()
|
---|
| 340 | {
|
---|
| 341 | return $this->threaded;
|
---|
| 342 | }
|
---|
| 343 | /**
|
---|
| 344 | * @param string
|
---|
| 345 | */
|
---|
| 346 | public function setType($type)
|
---|
| 347 | {
|
---|
| 348 | $this->type = $type;
|
---|
| 349 | }
|
---|
| 350 | /**
|
---|
| 351 | * @return string
|
---|
| 352 | */
|
---|
| 353 | public function getType()
|
---|
| 354 | {
|
---|
| 355 | return $this->type;
|
---|
| 356 | }
|
---|
| 357 | }
|
---|
| 358 |
|
---|
| 359 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 360 | class_alias(Space::class, 'Google_Service_HangoutsChat_Space');
|
---|