[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\Drive;
|
---|
| 19 |
|
---|
| 20 | class TeamDriveCapabilities extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var bool
|
---|
| 24 | */
|
---|
| 25 | public $canAddChildren;
|
---|
| 26 | /**
|
---|
| 27 | * @var bool
|
---|
| 28 | */
|
---|
| 29 | public $canChangeCopyRequiresWriterPermissionRestriction;
|
---|
| 30 | /**
|
---|
| 31 | * @var bool
|
---|
| 32 | */
|
---|
| 33 | public $canChangeDomainUsersOnlyRestriction;
|
---|
| 34 | /**
|
---|
| 35 | * @var bool
|
---|
| 36 | */
|
---|
| 37 | public $canChangeSharingFoldersRequiresOrganizerPermissionRestriction;
|
---|
| 38 | /**
|
---|
| 39 | * @var bool
|
---|
| 40 | */
|
---|
| 41 | public $canChangeTeamDriveBackground;
|
---|
| 42 | /**
|
---|
| 43 | * @var bool
|
---|
| 44 | */
|
---|
| 45 | public $canChangeTeamMembersOnlyRestriction;
|
---|
| 46 | /**
|
---|
| 47 | * @var bool
|
---|
| 48 | */
|
---|
| 49 | public $canComment;
|
---|
| 50 | /**
|
---|
| 51 | * @var bool
|
---|
| 52 | */
|
---|
| 53 | public $canCopy;
|
---|
| 54 | /**
|
---|
| 55 | * @var bool
|
---|
| 56 | */
|
---|
| 57 | public $canDeleteChildren;
|
---|
| 58 | /**
|
---|
| 59 | * @var bool
|
---|
| 60 | */
|
---|
| 61 | public $canDeleteTeamDrive;
|
---|
| 62 | /**
|
---|
| 63 | * @var bool
|
---|
| 64 | */
|
---|
| 65 | public $canDownload;
|
---|
| 66 | /**
|
---|
| 67 | * @var bool
|
---|
| 68 | */
|
---|
| 69 | public $canEdit;
|
---|
| 70 | /**
|
---|
| 71 | * @var bool
|
---|
| 72 | */
|
---|
| 73 | public $canListChildren;
|
---|
| 74 | /**
|
---|
| 75 | * @var bool
|
---|
| 76 | */
|
---|
| 77 | public $canManageMembers;
|
---|
| 78 | /**
|
---|
| 79 | * @var bool
|
---|
| 80 | */
|
---|
| 81 | public $canReadRevisions;
|
---|
| 82 | /**
|
---|
| 83 | * @var bool
|
---|
| 84 | */
|
---|
| 85 | public $canRemoveChildren;
|
---|
| 86 | /**
|
---|
| 87 | * @var bool
|
---|
| 88 | */
|
---|
| 89 | public $canRename;
|
---|
| 90 | /**
|
---|
| 91 | * @var bool
|
---|
| 92 | */
|
---|
| 93 | public $canRenameTeamDrive;
|
---|
| 94 | /**
|
---|
| 95 | * @var bool
|
---|
| 96 | */
|
---|
| 97 | public $canResetTeamDriveRestrictions;
|
---|
| 98 | /**
|
---|
| 99 | * @var bool
|
---|
| 100 | */
|
---|
| 101 | public $canShare;
|
---|
| 102 | /**
|
---|
| 103 | * @var bool
|
---|
| 104 | */
|
---|
| 105 | public $canTrashChildren;
|
---|
| 106 |
|
---|
| 107 | /**
|
---|
| 108 | * @param bool
|
---|
| 109 | */
|
---|
| 110 | public function setCanAddChildren($canAddChildren)
|
---|
| 111 | {
|
---|
| 112 | $this->canAddChildren = $canAddChildren;
|
---|
| 113 | }
|
---|
| 114 | /**
|
---|
| 115 | * @return bool
|
---|
| 116 | */
|
---|
| 117 | public function getCanAddChildren()
|
---|
| 118 | {
|
---|
| 119 | return $this->canAddChildren;
|
---|
| 120 | }
|
---|
| 121 | /**
|
---|
| 122 | * @param bool
|
---|
| 123 | */
|
---|
| 124 | public function setCanChangeCopyRequiresWriterPermissionRestriction($canChangeCopyRequiresWriterPermissionRestriction)
|
---|
| 125 | {
|
---|
| 126 | $this->canChangeCopyRequiresWriterPermissionRestriction = $canChangeCopyRequiresWriterPermissionRestriction;
|
---|
| 127 | }
|
---|
| 128 | /**
|
---|
| 129 | * @return bool
|
---|
| 130 | */
|
---|
| 131 | public function getCanChangeCopyRequiresWriterPermissionRestriction()
|
---|
| 132 | {
|
---|
| 133 | return $this->canChangeCopyRequiresWriterPermissionRestriction;
|
---|
| 134 | }
|
---|
| 135 | /**
|
---|
| 136 | * @param bool
|
---|
| 137 | */
|
---|
| 138 | public function setCanChangeDomainUsersOnlyRestriction($canChangeDomainUsersOnlyRestriction)
|
---|
| 139 | {
|
---|
| 140 | $this->canChangeDomainUsersOnlyRestriction = $canChangeDomainUsersOnlyRestriction;
|
---|
| 141 | }
|
---|
| 142 | /**
|
---|
| 143 | * @return bool
|
---|
| 144 | */
|
---|
| 145 | public function getCanChangeDomainUsersOnlyRestriction()
|
---|
| 146 | {
|
---|
| 147 | return $this->canChangeDomainUsersOnlyRestriction;
|
---|
| 148 | }
|
---|
| 149 | /**
|
---|
| 150 | * @param bool
|
---|
| 151 | */
|
---|
| 152 | public function setCanChangeSharingFoldersRequiresOrganizerPermissionRestriction($canChangeSharingFoldersRequiresOrganizerPermissionRestriction)
|
---|
| 153 | {
|
---|
| 154 | $this->canChangeSharingFoldersRequiresOrganizerPermissionRestriction = $canChangeSharingFoldersRequiresOrganizerPermissionRestriction;
|
---|
| 155 | }
|
---|
| 156 | /**
|
---|
| 157 | * @return bool
|
---|
| 158 | */
|
---|
| 159 | public function getCanChangeSharingFoldersRequiresOrganizerPermissionRestriction()
|
---|
| 160 | {
|
---|
| 161 | return $this->canChangeSharingFoldersRequiresOrganizerPermissionRestriction;
|
---|
| 162 | }
|
---|
| 163 | /**
|
---|
| 164 | * @param bool
|
---|
| 165 | */
|
---|
| 166 | public function setCanChangeTeamDriveBackground($canChangeTeamDriveBackground)
|
---|
| 167 | {
|
---|
| 168 | $this->canChangeTeamDriveBackground = $canChangeTeamDriveBackground;
|
---|
| 169 | }
|
---|
| 170 | /**
|
---|
| 171 | * @return bool
|
---|
| 172 | */
|
---|
| 173 | public function getCanChangeTeamDriveBackground()
|
---|
| 174 | {
|
---|
| 175 | return $this->canChangeTeamDriveBackground;
|
---|
| 176 | }
|
---|
| 177 | /**
|
---|
| 178 | * @param bool
|
---|
| 179 | */
|
---|
| 180 | public function setCanChangeTeamMembersOnlyRestriction($canChangeTeamMembersOnlyRestriction)
|
---|
| 181 | {
|
---|
| 182 | $this->canChangeTeamMembersOnlyRestriction = $canChangeTeamMembersOnlyRestriction;
|
---|
| 183 | }
|
---|
| 184 | /**
|
---|
| 185 | * @return bool
|
---|
| 186 | */
|
---|
| 187 | public function getCanChangeTeamMembersOnlyRestriction()
|
---|
| 188 | {
|
---|
| 189 | return $this->canChangeTeamMembersOnlyRestriction;
|
---|
| 190 | }
|
---|
| 191 | /**
|
---|
| 192 | * @param bool
|
---|
| 193 | */
|
---|
| 194 | public function setCanComment($canComment)
|
---|
| 195 | {
|
---|
| 196 | $this->canComment = $canComment;
|
---|
| 197 | }
|
---|
| 198 | /**
|
---|
| 199 | * @return bool
|
---|
| 200 | */
|
---|
| 201 | public function getCanComment()
|
---|
| 202 | {
|
---|
| 203 | return $this->canComment;
|
---|
| 204 | }
|
---|
| 205 | /**
|
---|
| 206 | * @param bool
|
---|
| 207 | */
|
---|
| 208 | public function setCanCopy($canCopy)
|
---|
| 209 | {
|
---|
| 210 | $this->canCopy = $canCopy;
|
---|
| 211 | }
|
---|
| 212 | /**
|
---|
| 213 | * @return bool
|
---|
| 214 | */
|
---|
| 215 | public function getCanCopy()
|
---|
| 216 | {
|
---|
| 217 | return $this->canCopy;
|
---|
| 218 | }
|
---|
| 219 | /**
|
---|
| 220 | * @param bool
|
---|
| 221 | */
|
---|
| 222 | public function setCanDeleteChildren($canDeleteChildren)
|
---|
| 223 | {
|
---|
| 224 | $this->canDeleteChildren = $canDeleteChildren;
|
---|
| 225 | }
|
---|
| 226 | /**
|
---|
| 227 | * @return bool
|
---|
| 228 | */
|
---|
| 229 | public function getCanDeleteChildren()
|
---|
| 230 | {
|
---|
| 231 | return $this->canDeleteChildren;
|
---|
| 232 | }
|
---|
| 233 | /**
|
---|
| 234 | * @param bool
|
---|
| 235 | */
|
---|
| 236 | public function setCanDeleteTeamDrive($canDeleteTeamDrive)
|
---|
| 237 | {
|
---|
| 238 | $this->canDeleteTeamDrive = $canDeleteTeamDrive;
|
---|
| 239 | }
|
---|
| 240 | /**
|
---|
| 241 | * @return bool
|
---|
| 242 | */
|
---|
| 243 | public function getCanDeleteTeamDrive()
|
---|
| 244 | {
|
---|
| 245 | return $this->canDeleteTeamDrive;
|
---|
| 246 | }
|
---|
| 247 | /**
|
---|
| 248 | * @param bool
|
---|
| 249 | */
|
---|
| 250 | public function setCanDownload($canDownload)
|
---|
| 251 | {
|
---|
| 252 | $this->canDownload = $canDownload;
|
---|
| 253 | }
|
---|
| 254 | /**
|
---|
| 255 | * @return bool
|
---|
| 256 | */
|
---|
| 257 | public function getCanDownload()
|
---|
| 258 | {
|
---|
| 259 | return $this->canDownload;
|
---|
| 260 | }
|
---|
| 261 | /**
|
---|
| 262 | * @param bool
|
---|
| 263 | */
|
---|
| 264 | public function setCanEdit($canEdit)
|
---|
| 265 | {
|
---|
| 266 | $this->canEdit = $canEdit;
|
---|
| 267 | }
|
---|
| 268 | /**
|
---|
| 269 | * @return bool
|
---|
| 270 | */
|
---|
| 271 | public function getCanEdit()
|
---|
| 272 | {
|
---|
| 273 | return $this->canEdit;
|
---|
| 274 | }
|
---|
| 275 | /**
|
---|
| 276 | * @param bool
|
---|
| 277 | */
|
---|
| 278 | public function setCanListChildren($canListChildren)
|
---|
| 279 | {
|
---|
| 280 | $this->canListChildren = $canListChildren;
|
---|
| 281 | }
|
---|
| 282 | /**
|
---|
| 283 | * @return bool
|
---|
| 284 | */
|
---|
| 285 | public function getCanListChildren()
|
---|
| 286 | {
|
---|
| 287 | return $this->canListChildren;
|
---|
| 288 | }
|
---|
| 289 | /**
|
---|
| 290 | * @param bool
|
---|
| 291 | */
|
---|
| 292 | public function setCanManageMembers($canManageMembers)
|
---|
| 293 | {
|
---|
| 294 | $this->canManageMembers = $canManageMembers;
|
---|
| 295 | }
|
---|
| 296 | /**
|
---|
| 297 | * @return bool
|
---|
| 298 | */
|
---|
| 299 | public function getCanManageMembers()
|
---|
| 300 | {
|
---|
| 301 | return $this->canManageMembers;
|
---|
| 302 | }
|
---|
| 303 | /**
|
---|
| 304 | * @param bool
|
---|
| 305 | */
|
---|
| 306 | public function setCanReadRevisions($canReadRevisions)
|
---|
| 307 | {
|
---|
| 308 | $this->canReadRevisions = $canReadRevisions;
|
---|
| 309 | }
|
---|
| 310 | /**
|
---|
| 311 | * @return bool
|
---|
| 312 | */
|
---|
| 313 | public function getCanReadRevisions()
|
---|
| 314 | {
|
---|
| 315 | return $this->canReadRevisions;
|
---|
| 316 | }
|
---|
| 317 | /**
|
---|
| 318 | * @param bool
|
---|
| 319 | */
|
---|
| 320 | public function setCanRemoveChildren($canRemoveChildren)
|
---|
| 321 | {
|
---|
| 322 | $this->canRemoveChildren = $canRemoveChildren;
|
---|
| 323 | }
|
---|
| 324 | /**
|
---|
| 325 | * @return bool
|
---|
| 326 | */
|
---|
| 327 | public function getCanRemoveChildren()
|
---|
| 328 | {
|
---|
| 329 | return $this->canRemoveChildren;
|
---|
| 330 | }
|
---|
| 331 | /**
|
---|
| 332 | * @param bool
|
---|
| 333 | */
|
---|
| 334 | public function setCanRename($canRename)
|
---|
| 335 | {
|
---|
| 336 | $this->canRename = $canRename;
|
---|
| 337 | }
|
---|
| 338 | /**
|
---|
| 339 | * @return bool
|
---|
| 340 | */
|
---|
| 341 | public function getCanRename()
|
---|
| 342 | {
|
---|
| 343 | return $this->canRename;
|
---|
| 344 | }
|
---|
| 345 | /**
|
---|
| 346 | * @param bool
|
---|
| 347 | */
|
---|
| 348 | public function setCanRenameTeamDrive($canRenameTeamDrive)
|
---|
| 349 | {
|
---|
| 350 | $this->canRenameTeamDrive = $canRenameTeamDrive;
|
---|
| 351 | }
|
---|
| 352 | /**
|
---|
| 353 | * @return bool
|
---|
| 354 | */
|
---|
| 355 | public function getCanRenameTeamDrive()
|
---|
| 356 | {
|
---|
| 357 | return $this->canRenameTeamDrive;
|
---|
| 358 | }
|
---|
| 359 | /**
|
---|
| 360 | * @param bool
|
---|
| 361 | */
|
---|
| 362 | public function setCanResetTeamDriveRestrictions($canResetTeamDriveRestrictions)
|
---|
| 363 | {
|
---|
| 364 | $this->canResetTeamDriveRestrictions = $canResetTeamDriveRestrictions;
|
---|
| 365 | }
|
---|
| 366 | /**
|
---|
| 367 | * @return bool
|
---|
| 368 | */
|
---|
| 369 | public function getCanResetTeamDriveRestrictions()
|
---|
| 370 | {
|
---|
| 371 | return $this->canResetTeamDriveRestrictions;
|
---|
| 372 | }
|
---|
| 373 | /**
|
---|
| 374 | * @param bool
|
---|
| 375 | */
|
---|
| 376 | public function setCanShare($canShare)
|
---|
| 377 | {
|
---|
| 378 | $this->canShare = $canShare;
|
---|
| 379 | }
|
---|
| 380 | /**
|
---|
| 381 | * @return bool
|
---|
| 382 | */
|
---|
| 383 | public function getCanShare()
|
---|
| 384 | {
|
---|
| 385 | return $this->canShare;
|
---|
| 386 | }
|
---|
| 387 | /**
|
---|
| 388 | * @param bool
|
---|
| 389 | */
|
---|
| 390 | public function setCanTrashChildren($canTrashChildren)
|
---|
| 391 | {
|
---|
| 392 | $this->canTrashChildren = $canTrashChildren;
|
---|
| 393 | }
|
---|
| 394 | /**
|
---|
| 395 | * @return bool
|
---|
| 396 | */
|
---|
| 397 | public function getCanTrashChildren()
|
---|
| 398 | {
|
---|
| 399 | return $this->canTrashChildren;
|
---|
| 400 | }
|
---|
| 401 | }
|
---|
| 402 |
|
---|
| 403 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 404 | class_alias(TeamDriveCapabilities::class, 'Google_Service_Drive_TeamDriveCapabilities');
|
---|