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\AndroidPublisher; 19 20class ExternallyHostedApk extends \Google\Collection 21{ 22 protected $collection_key = 'usesPermissions'; 23 /** 24 * @var string 25 */ 26 public $applicationLabel; 27 /** 28 * @var string[] 29 */ 30 public $certificateBase64s; 31 /** 32 * @var string 33 */ 34 public $externallyHostedUrl; 35 /** 36 * @var string 37 */ 38 public $fileSha1Base64; 39 /** 40 * @var string 41 */ 42 public $fileSha256Base64; 43 /** 44 * @var string 45 */ 46 public $fileSize; 47 /** 48 * @var string 49 */ 50 public $iconBase64; 51 /** 52 * @var int 53 */ 54 public $maximumSdk; 55 /** 56 * @var int 57 */ 58 public $minimumSdk; 59 /** 60 * @var string[] 61 */ 62 public $nativeCodes; 63 /** 64 * @var string 65 */ 66 public $packageName; 67 /** 68 * @var string[] 69 */ 70 public $usesFeatures; 71 protected $usesPermissionsType = UsesPermission::class; 72 protected $usesPermissionsDataType = 'array'; 73 /** 74 * @var int 75 */ 76 public $versionCode; 77 /** 78 * @var string 79 */ 80 public $versionName; 81 82 /** 83 * @param string 84 */ 85 public function setApplicationLabel($applicationLabel) 86 { 87 $this->applicationLabel = $applicationLabel; 88 } 89 /** 90 * @return string 91 */ 92 public function getApplicationLabel() 93 { 94 return $this->applicationLabel; 95 } 96 /** 97 * @param string[] 98 */ 99 public function setCertificateBase64s($certificateBase64s) 100 { 101 $this->certificateBase64s = $certificateBase64s; 102 } 103 /** 104 * @return string[] 105 */ 106 public function getCertificateBase64s() 107 { 108 return $this->certificateBase64s; 109 } 110 /** 111 * @param string 112 */ 113 public function setExternallyHostedUrl($externallyHostedUrl) 114 { 115 $this->externallyHostedUrl = $externallyHostedUrl; 116 } 117 /** 118 * @return string 119 */ 120 public function getExternallyHostedUrl() 121 { 122 return $this->externallyHostedUrl; 123 } 124 /** 125 * @param string 126 */ 127 public function setFileSha1Base64($fileSha1Base64) 128 { 129 $this->fileSha1Base64 = $fileSha1Base64; 130 } 131 /** 132 * @return string 133 */ 134 public function getFileSha1Base64() 135 { 136 return $this->fileSha1Base64; 137 } 138 /** 139 * @param string 140 */ 141 public function setFileSha256Base64($fileSha256Base64) 142 { 143 $this->fileSha256Base64 = $fileSha256Base64; 144 } 145 /** 146 * @return string 147 */ 148 public function getFileSha256Base64() 149 { 150 return $this->fileSha256Base64; 151 } 152 /** 153 * @param string 154 */ 155 public function setFileSize($fileSize) 156 { 157 $this->fileSize = $fileSize; 158 } 159 /** 160 * @return string 161 */ 162 public function getFileSize() 163 { 164 return $this->fileSize; 165 } 166 /** 167 * @param string 168 */ 169 public function setIconBase64($iconBase64) 170 { 171 $this->iconBase64 = $iconBase64; 172 } 173 /** 174 * @return string 175 */ 176 public function getIconBase64() 177 { 178 return $this->iconBase64; 179 } 180 /** 181 * @param int 182 */ 183 public function setMaximumSdk($maximumSdk) 184 { 185 $this->maximumSdk = $maximumSdk; 186 } 187 /** 188 * @return int 189 */ 190 public function getMaximumSdk() 191 { 192 return $this->maximumSdk; 193 } 194 /** 195 * @param int 196 */ 197 public function setMinimumSdk($minimumSdk) 198 { 199 $this->minimumSdk = $minimumSdk; 200 } 201 /** 202 * @return int 203 */ 204 public function getMinimumSdk() 205 { 206 return $this->minimumSdk; 207 } 208 /** 209 * @param string[] 210 */ 211 public function setNativeCodes($nativeCodes) 212 { 213 $this->nativeCodes = $nativeCodes; 214 } 215 /** 216 * @return string[] 217 */ 218 public function getNativeCodes() 219 { 220 return $this->nativeCodes; 221 } 222 /** 223 * @param string 224 */ 225 public function setPackageName($packageName) 226 { 227 $this->packageName = $packageName; 228 } 229 /** 230 * @return string 231 */ 232 public function getPackageName() 233 { 234 return $this->packageName; 235 } 236 /** 237 * @param string[] 238 */ 239 public function setUsesFeatures($usesFeatures) 240 { 241 $this->usesFeatures = $usesFeatures; 242 } 243 /** 244 * @return string[] 245 */ 246 public function getUsesFeatures() 247 { 248 return $this->usesFeatures; 249 } 250 /** 251 * @param UsesPermission[] 252 */ 253 public function setUsesPermissions($usesPermissions) 254 { 255 $this->usesPermissions = $usesPermissions; 256 } 257 /** 258 * @return UsesPermission[] 259 */ 260 public function getUsesPermissions() 261 { 262 return $this->usesPermissions; 263 } 264 /** 265 * @param int 266 */ 267 public function setVersionCode($versionCode) 268 { 269 $this->versionCode = $versionCode; 270 } 271 /** 272 * @return int 273 */ 274 public function getVersionCode() 275 { 276 return $this->versionCode; 277 } 278 /** 279 * @param string 280 */ 281 public function setVersionName($versionName) 282 { 283 $this->versionName = $versionName; 284 } 285 /** 286 * @return string 287 */ 288 public function getVersionName() 289 { 290 return $this->versionName; 291 } 292} 293 294// Adding a class alias for backwards compatibility with the previous class name. 295class_alias(ExternallyHostedApk::class, 'Google_Service_AndroidPublisher_ExternallyHostedApk'); 296