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\AndroidEnterprise; 19 20class AdministratorWebTokenSpec extends \Google\Collection 21{ 22 protected $collection_key = 'permission'; 23 protected $managedConfigurationsType = AdministratorWebTokenSpecManagedConfigurations::class; 24 protected $managedConfigurationsDataType = ''; 25 /** 26 * @var string 27 */ 28 public $parent; 29 /** 30 * @var string[] 31 */ 32 public $permission; 33 protected $playSearchType = AdministratorWebTokenSpecPlaySearch::class; 34 protected $playSearchDataType = ''; 35 protected $privateAppsType = AdministratorWebTokenSpecPrivateApps::class; 36 protected $privateAppsDataType = ''; 37 protected $storeBuilderType = AdministratorWebTokenSpecStoreBuilder::class; 38 protected $storeBuilderDataType = ''; 39 protected $webAppsType = AdministratorWebTokenSpecWebApps::class; 40 protected $webAppsDataType = ''; 41 protected $zeroTouchType = AdministratorWebTokenSpecZeroTouch::class; 42 protected $zeroTouchDataType = ''; 43 44 /** 45 * @param AdministratorWebTokenSpecManagedConfigurations 46 */ 47 public function setManagedConfigurations(AdministratorWebTokenSpecManagedConfigurations $managedConfigurations) 48 { 49 $this->managedConfigurations = $managedConfigurations; 50 } 51 /** 52 * @return AdministratorWebTokenSpecManagedConfigurations 53 */ 54 public function getManagedConfigurations() 55 { 56 return $this->managedConfigurations; 57 } 58 /** 59 * @param string 60 */ 61 public function setParent($parent) 62 { 63 $this->parent = $parent; 64 } 65 /** 66 * @return string 67 */ 68 public function getParent() 69 { 70 return $this->parent; 71 } 72 /** 73 * @param string[] 74 */ 75 public function setPermission($permission) 76 { 77 $this->permission = $permission; 78 } 79 /** 80 * @return string[] 81 */ 82 public function getPermission() 83 { 84 return $this->permission; 85 } 86 /** 87 * @param AdministratorWebTokenSpecPlaySearch 88 */ 89 public function setPlaySearch(AdministratorWebTokenSpecPlaySearch $playSearch) 90 { 91 $this->playSearch = $playSearch; 92 } 93 /** 94 * @return AdministratorWebTokenSpecPlaySearch 95 */ 96 public function getPlaySearch() 97 { 98 return $this->playSearch; 99 } 100 /** 101 * @param AdministratorWebTokenSpecPrivateApps 102 */ 103 public function setPrivateApps(AdministratorWebTokenSpecPrivateApps $privateApps) 104 { 105 $this->privateApps = $privateApps; 106 } 107 /** 108 * @return AdministratorWebTokenSpecPrivateApps 109 */ 110 public function getPrivateApps() 111 { 112 return $this->privateApps; 113 } 114 /** 115 * @param AdministratorWebTokenSpecStoreBuilder 116 */ 117 public function setStoreBuilder(AdministratorWebTokenSpecStoreBuilder $storeBuilder) 118 { 119 $this->storeBuilder = $storeBuilder; 120 } 121 /** 122 * @return AdministratorWebTokenSpecStoreBuilder 123 */ 124 public function getStoreBuilder() 125 { 126 return $this->storeBuilder; 127 } 128 /** 129 * @param AdministratorWebTokenSpecWebApps 130 */ 131 public function setWebApps(AdministratorWebTokenSpecWebApps $webApps) 132 { 133 $this->webApps = $webApps; 134 } 135 /** 136 * @return AdministratorWebTokenSpecWebApps 137 */ 138 public function getWebApps() 139 { 140 return $this->webApps; 141 } 142 /** 143 * @param AdministratorWebTokenSpecZeroTouch 144 */ 145 public function setZeroTouch(AdministratorWebTokenSpecZeroTouch $zeroTouch) 146 { 147 $this->zeroTouch = $zeroTouch; 148 } 149 /** 150 * @return AdministratorWebTokenSpecZeroTouch 151 */ 152 public function getZeroTouch() 153 { 154 return $this->zeroTouch; 155 } 156} 157 158// Adding a class alias for backwards compatibility with the previous class name. 159class_alias(AdministratorWebTokenSpec::class, 'Google_Service_AndroidEnterprise_AdministratorWebTokenSpec'); 160