[f9c482b] | 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\DriveLabels;
|
---|
| 19 |
|
---|
| 20 | class GoogleAppsDriveLabelsV2Label extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'fields';
|
---|
| 23 | protected $appliedCapabilitiesType = GoogleAppsDriveLabelsV2LabelAppliedCapabilities::class;
|
---|
| 24 | protected $appliedCapabilitiesDataType = '';
|
---|
| 25 | protected $appliedLabelPolicyType = GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy::class;
|
---|
| 26 | protected $appliedLabelPolicyDataType = '';
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $createTime;
|
---|
| 31 | protected $creatorType = GoogleAppsDriveLabelsV2UserInfo::class;
|
---|
| 32 | protected $creatorDataType = '';
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $customer;
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $disableTime;
|
---|
| 41 | protected $disablerType = GoogleAppsDriveLabelsV2UserInfo::class;
|
---|
| 42 | protected $disablerDataType = '';
|
---|
| 43 | protected $displayHintsType = GoogleAppsDriveLabelsV2LabelDisplayHints::class;
|
---|
| 44 | protected $displayHintsDataType = '';
|
---|
| 45 | protected $fieldsType = GoogleAppsDriveLabelsV2Field::class;
|
---|
| 46 | protected $fieldsDataType = 'array';
|
---|
| 47 | /**
|
---|
| 48 | * @var string
|
---|
| 49 | */
|
---|
| 50 | public $id;
|
---|
| 51 | /**
|
---|
| 52 | * @var string
|
---|
| 53 | */
|
---|
| 54 | public $labelType;
|
---|
| 55 | /**
|
---|
| 56 | * @var string
|
---|
| 57 | */
|
---|
| 58 | public $learnMoreUri;
|
---|
| 59 | protected $lifecycleType = GoogleAppsDriveLabelsV2Lifecycle::class;
|
---|
| 60 | protected $lifecycleDataType = '';
|
---|
| 61 | protected $lockStatusType = GoogleAppsDriveLabelsV2LockStatus::class;
|
---|
| 62 | protected $lockStatusDataType = '';
|
---|
| 63 | /**
|
---|
| 64 | * @var string
|
---|
| 65 | */
|
---|
| 66 | public $name;
|
---|
| 67 | protected $propertiesType = GoogleAppsDriveLabelsV2LabelProperties::class;
|
---|
| 68 | protected $propertiesDataType = '';
|
---|
| 69 | /**
|
---|
| 70 | * @var string
|
---|
| 71 | */
|
---|
| 72 | public $publishTime;
|
---|
| 73 | protected $publisherType = GoogleAppsDriveLabelsV2UserInfo::class;
|
---|
| 74 | protected $publisherDataType = '';
|
---|
| 75 | /**
|
---|
| 76 | * @var string
|
---|
| 77 | */
|
---|
| 78 | public $revisionCreateTime;
|
---|
| 79 | protected $revisionCreatorType = GoogleAppsDriveLabelsV2UserInfo::class;
|
---|
| 80 | protected $revisionCreatorDataType = '';
|
---|
| 81 | /**
|
---|
| 82 | * @var string
|
---|
| 83 | */
|
---|
| 84 | public $revisionId;
|
---|
| 85 | protected $schemaCapabilitiesType = GoogleAppsDriveLabelsV2LabelSchemaCapabilities::class;
|
---|
| 86 | protected $schemaCapabilitiesDataType = '';
|
---|
| 87 |
|
---|
| 88 | /**
|
---|
| 89 | * @param GoogleAppsDriveLabelsV2LabelAppliedCapabilities
|
---|
| 90 | */
|
---|
| 91 | public function setAppliedCapabilities(GoogleAppsDriveLabelsV2LabelAppliedCapabilities $appliedCapabilities)
|
---|
| 92 | {
|
---|
| 93 | $this->appliedCapabilities = $appliedCapabilities;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @return GoogleAppsDriveLabelsV2LabelAppliedCapabilities
|
---|
| 97 | */
|
---|
| 98 | public function getAppliedCapabilities()
|
---|
| 99 | {
|
---|
| 100 | return $this->appliedCapabilities;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @param GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy
|
---|
| 104 | */
|
---|
| 105 | public function setAppliedLabelPolicy(GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy $appliedLabelPolicy)
|
---|
| 106 | {
|
---|
| 107 | $this->appliedLabelPolicy = $appliedLabelPolicy;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @return GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy
|
---|
| 111 | */
|
---|
| 112 | public function getAppliedLabelPolicy()
|
---|
| 113 | {
|
---|
| 114 | return $this->appliedLabelPolicy;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @param string
|
---|
| 118 | */
|
---|
| 119 | public function setCreateTime($createTime)
|
---|
| 120 | {
|
---|
| 121 | $this->createTime = $createTime;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @return string
|
---|
| 125 | */
|
---|
| 126 | public function getCreateTime()
|
---|
| 127 | {
|
---|
| 128 | return $this->createTime;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @param GoogleAppsDriveLabelsV2UserInfo
|
---|
| 132 | */
|
---|
| 133 | public function setCreator(GoogleAppsDriveLabelsV2UserInfo $creator)
|
---|
| 134 | {
|
---|
| 135 | $this->creator = $creator;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @return GoogleAppsDriveLabelsV2UserInfo
|
---|
| 139 | */
|
---|
| 140 | public function getCreator()
|
---|
| 141 | {
|
---|
| 142 | return $this->creator;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @param string
|
---|
| 146 | */
|
---|
| 147 | public function setCustomer($customer)
|
---|
| 148 | {
|
---|
| 149 | $this->customer = $customer;
|
---|
| 150 | }
|
---|
| 151 | /**
|
---|
| 152 | * @return string
|
---|
| 153 | */
|
---|
| 154 | public function getCustomer()
|
---|
| 155 | {
|
---|
| 156 | return $this->customer;
|
---|
| 157 | }
|
---|
| 158 | /**
|
---|
| 159 | * @param string
|
---|
| 160 | */
|
---|
| 161 | public function setDisableTime($disableTime)
|
---|
| 162 | {
|
---|
| 163 | $this->disableTime = $disableTime;
|
---|
| 164 | }
|
---|
| 165 | /**
|
---|
| 166 | * @return string
|
---|
| 167 | */
|
---|
| 168 | public function getDisableTime()
|
---|
| 169 | {
|
---|
| 170 | return $this->disableTime;
|
---|
| 171 | }
|
---|
| 172 | /**
|
---|
| 173 | * @param GoogleAppsDriveLabelsV2UserInfo
|
---|
| 174 | */
|
---|
| 175 | public function setDisabler(GoogleAppsDriveLabelsV2UserInfo $disabler)
|
---|
| 176 | {
|
---|
| 177 | $this->disabler = $disabler;
|
---|
| 178 | }
|
---|
| 179 | /**
|
---|
| 180 | * @return GoogleAppsDriveLabelsV2UserInfo
|
---|
| 181 | */
|
---|
| 182 | public function getDisabler()
|
---|
| 183 | {
|
---|
| 184 | return $this->disabler;
|
---|
| 185 | }
|
---|
| 186 | /**
|
---|
| 187 | * @param GoogleAppsDriveLabelsV2LabelDisplayHints
|
---|
| 188 | */
|
---|
| 189 | public function setDisplayHints(GoogleAppsDriveLabelsV2LabelDisplayHints $displayHints)
|
---|
| 190 | {
|
---|
| 191 | $this->displayHints = $displayHints;
|
---|
| 192 | }
|
---|
| 193 | /**
|
---|
| 194 | * @return GoogleAppsDriveLabelsV2LabelDisplayHints
|
---|
| 195 | */
|
---|
| 196 | public function getDisplayHints()
|
---|
| 197 | {
|
---|
| 198 | return $this->displayHints;
|
---|
| 199 | }
|
---|
| 200 | /**
|
---|
| 201 | * @param GoogleAppsDriveLabelsV2Field[]
|
---|
| 202 | */
|
---|
| 203 | public function setFields($fields)
|
---|
| 204 | {
|
---|
| 205 | $this->fields = $fields;
|
---|
| 206 | }
|
---|
| 207 | /**
|
---|
| 208 | * @return GoogleAppsDriveLabelsV2Field[]
|
---|
| 209 | */
|
---|
| 210 | public function getFields()
|
---|
| 211 | {
|
---|
| 212 | return $this->fields;
|
---|
| 213 | }
|
---|
| 214 | /**
|
---|
| 215 | * @param string
|
---|
| 216 | */
|
---|
| 217 | public function setId($id)
|
---|
| 218 | {
|
---|
| 219 | $this->id = $id;
|
---|
| 220 | }
|
---|
| 221 | /**
|
---|
| 222 | * @return string
|
---|
| 223 | */
|
---|
| 224 | public function getId()
|
---|
| 225 | {
|
---|
| 226 | return $this->id;
|
---|
| 227 | }
|
---|
| 228 | /**
|
---|
| 229 | * @param string
|
---|
| 230 | */
|
---|
| 231 | public function setLabelType($labelType)
|
---|
| 232 | {
|
---|
| 233 | $this->labelType = $labelType;
|
---|
| 234 | }
|
---|
| 235 | /**
|
---|
| 236 | * @return string
|
---|
| 237 | */
|
---|
| 238 | public function getLabelType()
|
---|
| 239 | {
|
---|
| 240 | return $this->labelType;
|
---|
| 241 | }
|
---|
| 242 | /**
|
---|
| 243 | * @param string
|
---|
| 244 | */
|
---|
| 245 | public function setLearnMoreUri($learnMoreUri)
|
---|
| 246 | {
|
---|
| 247 | $this->learnMoreUri = $learnMoreUri;
|
---|
| 248 | }
|
---|
| 249 | /**
|
---|
| 250 | * @return string
|
---|
| 251 | */
|
---|
| 252 | public function getLearnMoreUri()
|
---|
| 253 | {
|
---|
| 254 | return $this->learnMoreUri;
|
---|
| 255 | }
|
---|
| 256 | /**
|
---|
| 257 | * @param GoogleAppsDriveLabelsV2Lifecycle
|
---|
| 258 | */
|
---|
| 259 | public function setLifecycle(GoogleAppsDriveLabelsV2Lifecycle $lifecycle)
|
---|
| 260 | {
|
---|
| 261 | $this->lifecycle = $lifecycle;
|
---|
| 262 | }
|
---|
| 263 | /**
|
---|
| 264 | * @return GoogleAppsDriveLabelsV2Lifecycle
|
---|
| 265 | */
|
---|
| 266 | public function getLifecycle()
|
---|
| 267 | {
|
---|
| 268 | return $this->lifecycle;
|
---|
| 269 | }
|
---|
| 270 | /**
|
---|
| 271 | * @param GoogleAppsDriveLabelsV2LockStatus
|
---|
| 272 | */
|
---|
| 273 | public function setLockStatus(GoogleAppsDriveLabelsV2LockStatus $lockStatus)
|
---|
| 274 | {
|
---|
| 275 | $this->lockStatus = $lockStatus;
|
---|
| 276 | }
|
---|
| 277 | /**
|
---|
| 278 | * @return GoogleAppsDriveLabelsV2LockStatus
|
---|
| 279 | */
|
---|
| 280 | public function getLockStatus()
|
---|
| 281 | {
|
---|
| 282 | return $this->lockStatus;
|
---|
| 283 | }
|
---|
| 284 | /**
|
---|
| 285 | * @param string
|
---|
| 286 | */
|
---|
| 287 | public function setName($name)
|
---|
| 288 | {
|
---|
| 289 | $this->name = $name;
|
---|
| 290 | }
|
---|
| 291 | /**
|
---|
| 292 | * @return string
|
---|
| 293 | */
|
---|
| 294 | public function getName()
|
---|
| 295 | {
|
---|
| 296 | return $this->name;
|
---|
| 297 | }
|
---|
| 298 | /**
|
---|
| 299 | * @param GoogleAppsDriveLabelsV2LabelProperties
|
---|
| 300 | */
|
---|
| 301 | public function setProperties(GoogleAppsDriveLabelsV2LabelProperties $properties)
|
---|
| 302 | {
|
---|
| 303 | $this->properties = $properties;
|
---|
| 304 | }
|
---|
| 305 | /**
|
---|
| 306 | * @return GoogleAppsDriveLabelsV2LabelProperties
|
---|
| 307 | */
|
---|
| 308 | public function getProperties()
|
---|
| 309 | {
|
---|
| 310 | return $this->properties;
|
---|
| 311 | }
|
---|
| 312 | /**
|
---|
| 313 | * @param string
|
---|
| 314 | */
|
---|
| 315 | public function setPublishTime($publishTime)
|
---|
| 316 | {
|
---|
| 317 | $this->publishTime = $publishTime;
|
---|
| 318 | }
|
---|
| 319 | /**
|
---|
| 320 | * @return string
|
---|
| 321 | */
|
---|
| 322 | public function getPublishTime()
|
---|
| 323 | {
|
---|
| 324 | return $this->publishTime;
|
---|
| 325 | }
|
---|
| 326 | /**
|
---|
| 327 | * @param GoogleAppsDriveLabelsV2UserInfo
|
---|
| 328 | */
|
---|
| 329 | public function setPublisher(GoogleAppsDriveLabelsV2UserInfo $publisher)
|
---|
| 330 | {
|
---|
| 331 | $this->publisher = $publisher;
|
---|
| 332 | }
|
---|
| 333 | /**
|
---|
| 334 | * @return GoogleAppsDriveLabelsV2UserInfo
|
---|
| 335 | */
|
---|
| 336 | public function getPublisher()
|
---|
| 337 | {
|
---|
| 338 | return $this->publisher;
|
---|
| 339 | }
|
---|
| 340 | /**
|
---|
| 341 | * @param string
|
---|
| 342 | */
|
---|
| 343 | public function setRevisionCreateTime($revisionCreateTime)
|
---|
| 344 | {
|
---|
| 345 | $this->revisionCreateTime = $revisionCreateTime;
|
---|
| 346 | }
|
---|
| 347 | /**
|
---|
| 348 | * @return string
|
---|
| 349 | */
|
---|
| 350 | public function getRevisionCreateTime()
|
---|
| 351 | {
|
---|
| 352 | return $this->revisionCreateTime;
|
---|
| 353 | }
|
---|
| 354 | /**
|
---|
| 355 | * @param GoogleAppsDriveLabelsV2UserInfo
|
---|
| 356 | */
|
---|
| 357 | public function setRevisionCreator(GoogleAppsDriveLabelsV2UserInfo $revisionCreator)
|
---|
| 358 | {
|
---|
| 359 | $this->revisionCreator = $revisionCreator;
|
---|
| 360 | }
|
---|
| 361 | /**
|
---|
| 362 | * @return GoogleAppsDriveLabelsV2UserInfo
|
---|
| 363 | */
|
---|
| 364 | public function getRevisionCreator()
|
---|
| 365 | {
|
---|
| 366 | return $this->revisionCreator;
|
---|
| 367 | }
|
---|
| 368 | /**
|
---|
| 369 | * @param string
|
---|
| 370 | */
|
---|
| 371 | public function setRevisionId($revisionId)
|
---|
| 372 | {
|
---|
| 373 | $this->revisionId = $revisionId;
|
---|
| 374 | }
|
---|
| 375 | /**
|
---|
| 376 | * @return string
|
---|
| 377 | */
|
---|
| 378 | public function getRevisionId()
|
---|
| 379 | {
|
---|
| 380 | return $this->revisionId;
|
---|
| 381 | }
|
---|
| 382 | /**
|
---|
| 383 | * @param GoogleAppsDriveLabelsV2LabelSchemaCapabilities
|
---|
| 384 | */
|
---|
| 385 | public function setSchemaCapabilities(GoogleAppsDriveLabelsV2LabelSchemaCapabilities $schemaCapabilities)
|
---|
| 386 | {
|
---|
| 387 | $this->schemaCapabilities = $schemaCapabilities;
|
---|
| 388 | }
|
---|
| 389 | /**
|
---|
| 390 | * @return GoogleAppsDriveLabelsV2LabelSchemaCapabilities
|
---|
| 391 | */
|
---|
| 392 | public function getSchemaCapabilities()
|
---|
| 393 | {
|
---|
| 394 | return $this->schemaCapabilities;
|
---|
| 395 | }
|
---|
| 396 | }
|
---|
| 397 |
|
---|
| 398 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 399 | class_alias(GoogleAppsDriveLabelsV2Label::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2Label');
|
---|