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\Drive; 19 20class DriveCapabilities 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 $canChangeDriveBackground; 38 /** 39 * @var bool 40 */ 41 public $canChangeDriveMembersOnlyRestriction; 42 /** 43 * @var bool 44 */ 45 public $canComment; 46 /** 47 * @var bool 48 */ 49 public $canCopy; 50 /** 51 * @var bool 52 */ 53 public $canDeleteChildren; 54 /** 55 * @var bool 56 */ 57 public $canDeleteDrive; 58 /** 59 * @var bool 60 */ 61 public $canDownload; 62 /** 63 * @var bool 64 */ 65 public $canEdit; 66 /** 67 * @var bool 68 */ 69 public $canListChildren; 70 /** 71 * @var bool 72 */ 73 public $canManageMembers; 74 /** 75 * @var bool 76 */ 77 public $canReadRevisions; 78 /** 79 * @var bool 80 */ 81 public $canRename; 82 /** 83 * @var bool 84 */ 85 public $canRenameDrive; 86 /** 87 * @var bool 88 */ 89 public $canShare; 90 /** 91 * @var bool 92 */ 93 public $canTrashChildren; 94 95 /** 96 * @param bool 97 */ 98 public function setCanAddChildren($canAddChildren) 99 { 100 $this->canAddChildren = $canAddChildren; 101 } 102 /** 103 * @return bool 104 */ 105 public function getCanAddChildren() 106 { 107 return $this->canAddChildren; 108 } 109 /** 110 * @param bool 111 */ 112 public function setCanChangeCopyRequiresWriterPermissionRestriction($canChangeCopyRequiresWriterPermissionRestriction) 113 { 114 $this->canChangeCopyRequiresWriterPermissionRestriction = $canChangeCopyRequiresWriterPermissionRestriction; 115 } 116 /** 117 * @return bool 118 */ 119 public function getCanChangeCopyRequiresWriterPermissionRestriction() 120 { 121 return $this->canChangeCopyRequiresWriterPermissionRestriction; 122 } 123 /** 124 * @param bool 125 */ 126 public function setCanChangeDomainUsersOnlyRestriction($canChangeDomainUsersOnlyRestriction) 127 { 128 $this->canChangeDomainUsersOnlyRestriction = $canChangeDomainUsersOnlyRestriction; 129 } 130 /** 131 * @return bool 132 */ 133 public function getCanChangeDomainUsersOnlyRestriction() 134 { 135 return $this->canChangeDomainUsersOnlyRestriction; 136 } 137 /** 138 * @param bool 139 */ 140 public function setCanChangeDriveBackground($canChangeDriveBackground) 141 { 142 $this->canChangeDriveBackground = $canChangeDriveBackground; 143 } 144 /** 145 * @return bool 146 */ 147 public function getCanChangeDriveBackground() 148 { 149 return $this->canChangeDriveBackground; 150 } 151 /** 152 * @param bool 153 */ 154 public function setCanChangeDriveMembersOnlyRestriction($canChangeDriveMembersOnlyRestriction) 155 { 156 $this->canChangeDriveMembersOnlyRestriction = $canChangeDriveMembersOnlyRestriction; 157 } 158 /** 159 * @return bool 160 */ 161 public function getCanChangeDriveMembersOnlyRestriction() 162 { 163 return $this->canChangeDriveMembersOnlyRestriction; 164 } 165 /** 166 * @param bool 167 */ 168 public function setCanComment($canComment) 169 { 170 $this->canComment = $canComment; 171 } 172 /** 173 * @return bool 174 */ 175 public function getCanComment() 176 { 177 return $this->canComment; 178 } 179 /** 180 * @param bool 181 */ 182 public function setCanCopy($canCopy) 183 { 184 $this->canCopy = $canCopy; 185 } 186 /** 187 * @return bool 188 */ 189 public function getCanCopy() 190 { 191 return $this->canCopy; 192 } 193 /** 194 * @param bool 195 */ 196 public function setCanDeleteChildren($canDeleteChildren) 197 { 198 $this->canDeleteChildren = $canDeleteChildren; 199 } 200 /** 201 * @return bool 202 */ 203 public function getCanDeleteChildren() 204 { 205 return $this->canDeleteChildren; 206 } 207 /** 208 * @param bool 209 */ 210 public function setCanDeleteDrive($canDeleteDrive) 211 { 212 $this->canDeleteDrive = $canDeleteDrive; 213 } 214 /** 215 * @return bool 216 */ 217 public function getCanDeleteDrive() 218 { 219 return $this->canDeleteDrive; 220 } 221 /** 222 * @param bool 223 */ 224 public function setCanDownload($canDownload) 225 { 226 $this->canDownload = $canDownload; 227 } 228 /** 229 * @return bool 230 */ 231 public function getCanDownload() 232 { 233 return $this->canDownload; 234 } 235 /** 236 * @param bool 237 */ 238 public function setCanEdit($canEdit) 239 { 240 $this->canEdit = $canEdit; 241 } 242 /** 243 * @return bool 244 */ 245 public function getCanEdit() 246 { 247 return $this->canEdit; 248 } 249 /** 250 * @param bool 251 */ 252 public function setCanListChildren($canListChildren) 253 { 254 $this->canListChildren = $canListChildren; 255 } 256 /** 257 * @return bool 258 */ 259 public function getCanListChildren() 260 { 261 return $this->canListChildren; 262 } 263 /** 264 * @param bool 265 */ 266 public function setCanManageMembers($canManageMembers) 267 { 268 $this->canManageMembers = $canManageMembers; 269 } 270 /** 271 * @return bool 272 */ 273 public function getCanManageMembers() 274 { 275 return $this->canManageMembers; 276 } 277 /** 278 * @param bool 279 */ 280 public function setCanReadRevisions($canReadRevisions) 281 { 282 $this->canReadRevisions = $canReadRevisions; 283 } 284 /** 285 * @return bool 286 */ 287 public function getCanReadRevisions() 288 { 289 return $this->canReadRevisions; 290 } 291 /** 292 * @param bool 293 */ 294 public function setCanRename($canRename) 295 { 296 $this->canRename = $canRename; 297 } 298 /** 299 * @return bool 300 */ 301 public function getCanRename() 302 { 303 return $this->canRename; 304 } 305 /** 306 * @param bool 307 */ 308 public function setCanRenameDrive($canRenameDrive) 309 { 310 $this->canRenameDrive = $canRenameDrive; 311 } 312 /** 313 * @return bool 314 */ 315 public function getCanRenameDrive() 316 { 317 return $this->canRenameDrive; 318 } 319 /** 320 * @param bool 321 */ 322 public function setCanShare($canShare) 323 { 324 $this->canShare = $canShare; 325 } 326 /** 327 * @return bool 328 */ 329 public function getCanShare() 330 { 331 return $this->canShare; 332 } 333 /** 334 * @param bool 335 */ 336 public function setCanTrashChildren($canTrashChildren) 337 { 338 $this->canTrashChildren = $canTrashChildren; 339 } 340 /** 341 * @return bool 342 */ 343 public function getCanTrashChildren() 344 { 345 return $this->canTrashChildren; 346 } 347} 348 349// Adding a class alias for backwards compatibility with the previous class name. 350class_alias(DriveCapabilities::class, 'Google_Service_Drive_DriveCapabilities'); 351