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 Drive extends \Google\Model 21{ 22 protected $backgroundImageFileType = DriveBackgroundImageFile::class; 23 protected $backgroundImageFileDataType = ''; 24 /** 25 * @var string 26 */ 27 public $backgroundImageLink; 28 protected $capabilitiesType = DriveCapabilities::class; 29 protected $capabilitiesDataType = ''; 30 /** 31 * @var string 32 */ 33 public $colorRgb; 34 /** 35 * @var string 36 */ 37 public $createdTime; 38 /** 39 * @var bool 40 */ 41 public $hidden; 42 /** 43 * @var string 44 */ 45 public $id; 46 /** 47 * @var string 48 */ 49 public $kind; 50 /** 51 * @var string 52 */ 53 public $name; 54 /** 55 * @var string 56 */ 57 public $orgUnitId; 58 protected $restrictionsType = DriveRestrictions::class; 59 protected $restrictionsDataType = ''; 60 /** 61 * @var string 62 */ 63 public $themeId; 64 65 /** 66 * @param DriveBackgroundImageFile 67 */ 68 public function setBackgroundImageFile(DriveBackgroundImageFile $backgroundImageFile) 69 { 70 $this->backgroundImageFile = $backgroundImageFile; 71 } 72 /** 73 * @return DriveBackgroundImageFile 74 */ 75 public function getBackgroundImageFile() 76 { 77 return $this->backgroundImageFile; 78 } 79 /** 80 * @param string 81 */ 82 public function setBackgroundImageLink($backgroundImageLink) 83 { 84 $this->backgroundImageLink = $backgroundImageLink; 85 } 86 /** 87 * @return string 88 */ 89 public function getBackgroundImageLink() 90 { 91 return $this->backgroundImageLink; 92 } 93 /** 94 * @param DriveCapabilities 95 */ 96 public function setCapabilities(DriveCapabilities $capabilities) 97 { 98 $this->capabilities = $capabilities; 99 } 100 /** 101 * @return DriveCapabilities 102 */ 103 public function getCapabilities() 104 { 105 return $this->capabilities; 106 } 107 /** 108 * @param string 109 */ 110 public function setColorRgb($colorRgb) 111 { 112 $this->colorRgb = $colorRgb; 113 } 114 /** 115 * @return string 116 */ 117 public function getColorRgb() 118 { 119 return $this->colorRgb; 120 } 121 /** 122 * @param string 123 */ 124 public function setCreatedTime($createdTime) 125 { 126 $this->createdTime = $createdTime; 127 } 128 /** 129 * @return string 130 */ 131 public function getCreatedTime() 132 { 133 return $this->createdTime; 134 } 135 /** 136 * @param bool 137 */ 138 public function setHidden($hidden) 139 { 140 $this->hidden = $hidden; 141 } 142 /** 143 * @return bool 144 */ 145 public function getHidden() 146 { 147 return $this->hidden; 148 } 149 /** 150 * @param string 151 */ 152 public function setId($id) 153 { 154 $this->id = $id; 155 } 156 /** 157 * @return string 158 */ 159 public function getId() 160 { 161 return $this->id; 162 } 163 /** 164 * @param string 165 */ 166 public function setKind($kind) 167 { 168 $this->kind = $kind; 169 } 170 /** 171 * @return string 172 */ 173 public function getKind() 174 { 175 return $this->kind; 176 } 177 /** 178 * @param string 179 */ 180 public function setName($name) 181 { 182 $this->name = $name; 183 } 184 /** 185 * @return string 186 */ 187 public function getName() 188 { 189 return $this->name; 190 } 191 /** 192 * @param string 193 */ 194 public function setOrgUnitId($orgUnitId) 195 { 196 $this->orgUnitId = $orgUnitId; 197 } 198 /** 199 * @return string 200 */ 201 public function getOrgUnitId() 202 { 203 return $this->orgUnitId; 204 } 205 /** 206 * @param DriveRestrictions 207 */ 208 public function setRestrictions(DriveRestrictions $restrictions) 209 { 210 $this->restrictions = $restrictions; 211 } 212 /** 213 * @return DriveRestrictions 214 */ 215 public function getRestrictions() 216 { 217 return $this->restrictions; 218 } 219 /** 220 * @param string 221 */ 222 public function setThemeId($themeId) 223 { 224 $this->themeId = $themeId; 225 } 226 /** 227 * @return string 228 */ 229 public function getThemeId() 230 { 231 return $this->themeId; 232 } 233} 234 235// Adding a class alias for backwards compatibility with the previous class name. 236class_alias(Drive::class, 'Google_Service_Drive_Drive'); 237