[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\Testing;
|
---|
| 19 |
|
---|
| 20 | class ApkManifest extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'usesPermissionTags';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $applicationLabel;
|
---|
| 27 | protected $intentFiltersType = IntentFilter::class;
|
---|
| 28 | protected $intentFiltersDataType = 'array';
|
---|
| 29 | /**
|
---|
| 30 | * @var int
|
---|
| 31 | */
|
---|
| 32 | public $maxSdkVersion;
|
---|
| 33 | protected $metadataType = Metadata::class;
|
---|
| 34 | protected $metadataDataType = 'array';
|
---|
| 35 | /**
|
---|
| 36 | * @var int
|
---|
| 37 | */
|
---|
| 38 | public $minSdkVersion;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $packageName;
|
---|
| 43 | protected $servicesType = Service::class;
|
---|
| 44 | protected $servicesDataType = 'array';
|
---|
| 45 | /**
|
---|
| 46 | * @var int
|
---|
| 47 | */
|
---|
| 48 | public $targetSdkVersion;
|
---|
| 49 | protected $usesFeatureType = UsesFeature::class;
|
---|
| 50 | protected $usesFeatureDataType = 'array';
|
---|
| 51 | /**
|
---|
| 52 | * @var string[]
|
---|
| 53 | */
|
---|
| 54 | public $usesPermission;
|
---|
| 55 | protected $usesPermissionTagsType = UsesPermissionTag::class;
|
---|
| 56 | protected $usesPermissionTagsDataType = 'array';
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $versionCode;
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $versionName;
|
---|
| 65 |
|
---|
| 66 | /**
|
---|
| 67 | * @param string
|
---|
| 68 | */
|
---|
| 69 | public function setApplicationLabel($applicationLabel)
|
---|
| 70 | {
|
---|
| 71 | $this->applicationLabel = $applicationLabel;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @return string
|
---|
| 75 | */
|
---|
| 76 | public function getApplicationLabel()
|
---|
| 77 | {
|
---|
| 78 | return $this->applicationLabel;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @param IntentFilter[]
|
---|
| 82 | */
|
---|
| 83 | public function setIntentFilters($intentFilters)
|
---|
| 84 | {
|
---|
| 85 | $this->intentFilters = $intentFilters;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @return IntentFilter[]
|
---|
| 89 | */
|
---|
| 90 | public function getIntentFilters()
|
---|
| 91 | {
|
---|
| 92 | return $this->intentFilters;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @param int
|
---|
| 96 | */
|
---|
| 97 | public function setMaxSdkVersion($maxSdkVersion)
|
---|
| 98 | {
|
---|
| 99 | $this->maxSdkVersion = $maxSdkVersion;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @return int
|
---|
| 103 | */
|
---|
| 104 | public function getMaxSdkVersion()
|
---|
| 105 | {
|
---|
| 106 | return $this->maxSdkVersion;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @param Metadata[]
|
---|
| 110 | */
|
---|
| 111 | public function setMetadata($metadata)
|
---|
| 112 | {
|
---|
| 113 | $this->metadata = $metadata;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @return Metadata[]
|
---|
| 117 | */
|
---|
| 118 | public function getMetadata()
|
---|
| 119 | {
|
---|
| 120 | return $this->metadata;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @param int
|
---|
| 124 | */
|
---|
| 125 | public function setMinSdkVersion($minSdkVersion)
|
---|
| 126 | {
|
---|
| 127 | $this->minSdkVersion = $minSdkVersion;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @return int
|
---|
| 131 | */
|
---|
| 132 | public function getMinSdkVersion()
|
---|
| 133 | {
|
---|
| 134 | return $this->minSdkVersion;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @param string
|
---|
| 138 | */
|
---|
| 139 | public function setPackageName($packageName)
|
---|
| 140 | {
|
---|
| 141 | $this->packageName = $packageName;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @return string
|
---|
| 145 | */
|
---|
| 146 | public function getPackageName()
|
---|
| 147 | {
|
---|
| 148 | return $this->packageName;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @param Service[]
|
---|
| 152 | */
|
---|
| 153 | public function setServices($services)
|
---|
| 154 | {
|
---|
| 155 | $this->services = $services;
|
---|
| 156 | }
|
---|
| 157 | /**
|
---|
| 158 | * @return Service[]
|
---|
| 159 | */
|
---|
| 160 | public function getServices()
|
---|
| 161 | {
|
---|
| 162 | return $this->services;
|
---|
| 163 | }
|
---|
| 164 | /**
|
---|
| 165 | * @param int
|
---|
| 166 | */
|
---|
| 167 | public function setTargetSdkVersion($targetSdkVersion)
|
---|
| 168 | {
|
---|
| 169 | $this->targetSdkVersion = $targetSdkVersion;
|
---|
| 170 | }
|
---|
| 171 | /**
|
---|
| 172 | * @return int
|
---|
| 173 | */
|
---|
| 174 | public function getTargetSdkVersion()
|
---|
| 175 | {
|
---|
| 176 | return $this->targetSdkVersion;
|
---|
| 177 | }
|
---|
| 178 | /**
|
---|
| 179 | * @param UsesFeature[]
|
---|
| 180 | */
|
---|
| 181 | public function setUsesFeature($usesFeature)
|
---|
| 182 | {
|
---|
| 183 | $this->usesFeature = $usesFeature;
|
---|
| 184 | }
|
---|
| 185 | /**
|
---|
| 186 | * @return UsesFeature[]
|
---|
| 187 | */
|
---|
| 188 | public function getUsesFeature()
|
---|
| 189 | {
|
---|
| 190 | return $this->usesFeature;
|
---|
| 191 | }
|
---|
| 192 | /**
|
---|
| 193 | * @param string[]
|
---|
| 194 | */
|
---|
| 195 | public function setUsesPermission($usesPermission)
|
---|
| 196 | {
|
---|
| 197 | $this->usesPermission = $usesPermission;
|
---|
| 198 | }
|
---|
| 199 | /**
|
---|
| 200 | * @return string[]
|
---|
| 201 | */
|
---|
| 202 | public function getUsesPermission()
|
---|
| 203 | {
|
---|
| 204 | return $this->usesPermission;
|
---|
| 205 | }
|
---|
| 206 | /**
|
---|
| 207 | * @param UsesPermissionTag[]
|
---|
| 208 | */
|
---|
| 209 | public function setUsesPermissionTags($usesPermissionTags)
|
---|
| 210 | {
|
---|
| 211 | $this->usesPermissionTags = $usesPermissionTags;
|
---|
| 212 | }
|
---|
| 213 | /**
|
---|
| 214 | * @return UsesPermissionTag[]
|
---|
| 215 | */
|
---|
| 216 | public function getUsesPermissionTags()
|
---|
| 217 | {
|
---|
| 218 | return $this->usesPermissionTags;
|
---|
| 219 | }
|
---|
| 220 | /**
|
---|
| 221 | * @param string
|
---|
| 222 | */
|
---|
| 223 | public function setVersionCode($versionCode)
|
---|
| 224 | {
|
---|
| 225 | $this->versionCode = $versionCode;
|
---|
| 226 | }
|
---|
| 227 | /**
|
---|
| 228 | * @return string
|
---|
| 229 | */
|
---|
| 230 | public function getVersionCode()
|
---|
| 231 | {
|
---|
| 232 | return $this->versionCode;
|
---|
| 233 | }
|
---|
| 234 | /**
|
---|
| 235 | * @param string
|
---|
| 236 | */
|
---|
| 237 | public function setVersionName($versionName)
|
---|
| 238 | {
|
---|
| 239 | $this->versionName = $versionName;
|
---|
| 240 | }
|
---|
| 241 | /**
|
---|
| 242 | * @return string
|
---|
| 243 | */
|
---|
| 244 | public function getVersionName()
|
---|
| 245 | {
|
---|
| 246 | return $this->versionName;
|
---|
| 247 | }
|
---|
| 248 | }
|
---|
| 249 |
|
---|
| 250 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 251 | class_alias(ApkManifest::class, 'Google_Service_Testing_ApkManifest');
|
---|