[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\AndroidManagement;
|
---|
| 19 |
|
---|
| 20 | class Application extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'screenshotUrls';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $appPricing;
|
---|
| 27 | protected $appTracksType = AppTrackInfo::class;
|
---|
| 28 | protected $appTracksDataType = 'array';
|
---|
| 29 | protected $appVersionsType = AppVersion::class;
|
---|
| 30 | protected $appVersionsDataType = 'array';
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $author;
|
---|
| 35 | /**
|
---|
| 36 | * @var string[]
|
---|
| 37 | */
|
---|
| 38 | public $availableCountries;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $category;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $contentRating;
|
---|
| 47 | /**
|
---|
| 48 | * @var string
|
---|
| 49 | */
|
---|
| 50 | public $description;
|
---|
| 51 | /**
|
---|
| 52 | * @var string
|
---|
| 53 | */
|
---|
| 54 | public $distributionChannel;
|
---|
| 55 | /**
|
---|
| 56 | * @var string[]
|
---|
| 57 | */
|
---|
| 58 | public $features;
|
---|
| 59 | /**
|
---|
| 60 | * @var string
|
---|
| 61 | */
|
---|
| 62 | public $fullDescription;
|
---|
| 63 | /**
|
---|
| 64 | * @var string
|
---|
| 65 | */
|
---|
| 66 | public $iconUrl;
|
---|
| 67 | protected $managedPropertiesType = ManagedProperty::class;
|
---|
| 68 | protected $managedPropertiesDataType = 'array';
|
---|
| 69 | /**
|
---|
| 70 | * @var int
|
---|
| 71 | */
|
---|
| 72 | public $minAndroidSdkVersion;
|
---|
| 73 | /**
|
---|
| 74 | * @var string
|
---|
| 75 | */
|
---|
| 76 | public $name;
|
---|
| 77 | protected $permissionsType = ApplicationPermission::class;
|
---|
| 78 | protected $permissionsDataType = 'array';
|
---|
| 79 | /**
|
---|
| 80 | * @var string
|
---|
| 81 | */
|
---|
| 82 | public $playStoreUrl;
|
---|
| 83 | /**
|
---|
| 84 | * @var string
|
---|
| 85 | */
|
---|
| 86 | public $recentChanges;
|
---|
| 87 | /**
|
---|
| 88 | * @var string[]
|
---|
| 89 | */
|
---|
| 90 | public $screenshotUrls;
|
---|
| 91 | /**
|
---|
| 92 | * @var string
|
---|
| 93 | */
|
---|
| 94 | public $smallIconUrl;
|
---|
| 95 | /**
|
---|
| 96 | * @var string
|
---|
| 97 | */
|
---|
| 98 | public $title;
|
---|
| 99 | /**
|
---|
| 100 | * @var string
|
---|
| 101 | */
|
---|
| 102 | public $updateTime;
|
---|
| 103 |
|
---|
| 104 | /**
|
---|
| 105 | * @param string
|
---|
| 106 | */
|
---|
| 107 | public function setAppPricing($appPricing)
|
---|
| 108 | {
|
---|
| 109 | $this->appPricing = $appPricing;
|
---|
| 110 | }
|
---|
| 111 | /**
|
---|
| 112 | * @return string
|
---|
| 113 | */
|
---|
| 114 | public function getAppPricing()
|
---|
| 115 | {
|
---|
| 116 | return $this->appPricing;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @param AppTrackInfo[]
|
---|
| 120 | */
|
---|
| 121 | public function setAppTracks($appTracks)
|
---|
| 122 | {
|
---|
| 123 | $this->appTracks = $appTracks;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @return AppTrackInfo[]
|
---|
| 127 | */
|
---|
| 128 | public function getAppTracks()
|
---|
| 129 | {
|
---|
| 130 | return $this->appTracks;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @param AppVersion[]
|
---|
| 134 | */
|
---|
| 135 | public function setAppVersions($appVersions)
|
---|
| 136 | {
|
---|
| 137 | $this->appVersions = $appVersions;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @return AppVersion[]
|
---|
| 141 | */
|
---|
| 142 | public function getAppVersions()
|
---|
| 143 | {
|
---|
| 144 | return $this->appVersions;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @param string
|
---|
| 148 | */
|
---|
| 149 | public function setAuthor($author)
|
---|
| 150 | {
|
---|
| 151 | $this->author = $author;
|
---|
| 152 | }
|
---|
| 153 | /**
|
---|
| 154 | * @return string
|
---|
| 155 | */
|
---|
| 156 | public function getAuthor()
|
---|
| 157 | {
|
---|
| 158 | return $this->author;
|
---|
| 159 | }
|
---|
| 160 | /**
|
---|
| 161 | * @param string[]
|
---|
| 162 | */
|
---|
| 163 | public function setAvailableCountries($availableCountries)
|
---|
| 164 | {
|
---|
| 165 | $this->availableCountries = $availableCountries;
|
---|
| 166 | }
|
---|
| 167 | /**
|
---|
| 168 | * @return string[]
|
---|
| 169 | */
|
---|
| 170 | public function getAvailableCountries()
|
---|
| 171 | {
|
---|
| 172 | return $this->availableCountries;
|
---|
| 173 | }
|
---|
| 174 | /**
|
---|
| 175 | * @param string
|
---|
| 176 | */
|
---|
| 177 | public function setCategory($category)
|
---|
| 178 | {
|
---|
| 179 | $this->category = $category;
|
---|
| 180 | }
|
---|
| 181 | /**
|
---|
| 182 | * @return string
|
---|
| 183 | */
|
---|
| 184 | public function getCategory()
|
---|
| 185 | {
|
---|
| 186 | return $this->category;
|
---|
| 187 | }
|
---|
| 188 | /**
|
---|
| 189 | * @param string
|
---|
| 190 | */
|
---|
| 191 | public function setContentRating($contentRating)
|
---|
| 192 | {
|
---|
| 193 | $this->contentRating = $contentRating;
|
---|
| 194 | }
|
---|
| 195 | /**
|
---|
| 196 | * @return string
|
---|
| 197 | */
|
---|
| 198 | public function getContentRating()
|
---|
| 199 | {
|
---|
| 200 | return $this->contentRating;
|
---|
| 201 | }
|
---|
| 202 | /**
|
---|
| 203 | * @param string
|
---|
| 204 | */
|
---|
| 205 | public function setDescription($description)
|
---|
| 206 | {
|
---|
| 207 | $this->description = $description;
|
---|
| 208 | }
|
---|
| 209 | /**
|
---|
| 210 | * @return string
|
---|
| 211 | */
|
---|
| 212 | public function getDescription()
|
---|
| 213 | {
|
---|
| 214 | return $this->description;
|
---|
| 215 | }
|
---|
| 216 | /**
|
---|
| 217 | * @param string
|
---|
| 218 | */
|
---|
| 219 | public function setDistributionChannel($distributionChannel)
|
---|
| 220 | {
|
---|
| 221 | $this->distributionChannel = $distributionChannel;
|
---|
| 222 | }
|
---|
| 223 | /**
|
---|
| 224 | * @return string
|
---|
| 225 | */
|
---|
| 226 | public function getDistributionChannel()
|
---|
| 227 | {
|
---|
| 228 | return $this->distributionChannel;
|
---|
| 229 | }
|
---|
| 230 | /**
|
---|
| 231 | * @param string[]
|
---|
| 232 | */
|
---|
| 233 | public function setFeatures($features)
|
---|
| 234 | {
|
---|
| 235 | $this->features = $features;
|
---|
| 236 | }
|
---|
| 237 | /**
|
---|
| 238 | * @return string[]
|
---|
| 239 | */
|
---|
| 240 | public function getFeatures()
|
---|
| 241 | {
|
---|
| 242 | return $this->features;
|
---|
| 243 | }
|
---|
| 244 | /**
|
---|
| 245 | * @param string
|
---|
| 246 | */
|
---|
| 247 | public function setFullDescription($fullDescription)
|
---|
| 248 | {
|
---|
| 249 | $this->fullDescription = $fullDescription;
|
---|
| 250 | }
|
---|
| 251 | /**
|
---|
| 252 | * @return string
|
---|
| 253 | */
|
---|
| 254 | public function getFullDescription()
|
---|
| 255 | {
|
---|
| 256 | return $this->fullDescription;
|
---|
| 257 | }
|
---|
| 258 | /**
|
---|
| 259 | * @param string
|
---|
| 260 | */
|
---|
| 261 | public function setIconUrl($iconUrl)
|
---|
| 262 | {
|
---|
| 263 | $this->iconUrl = $iconUrl;
|
---|
| 264 | }
|
---|
| 265 | /**
|
---|
| 266 | * @return string
|
---|
| 267 | */
|
---|
| 268 | public function getIconUrl()
|
---|
| 269 | {
|
---|
| 270 | return $this->iconUrl;
|
---|
| 271 | }
|
---|
| 272 | /**
|
---|
| 273 | * @param ManagedProperty[]
|
---|
| 274 | */
|
---|
| 275 | public function setManagedProperties($managedProperties)
|
---|
| 276 | {
|
---|
| 277 | $this->managedProperties = $managedProperties;
|
---|
| 278 | }
|
---|
| 279 | /**
|
---|
| 280 | * @return ManagedProperty[]
|
---|
| 281 | */
|
---|
| 282 | public function getManagedProperties()
|
---|
| 283 | {
|
---|
| 284 | return $this->managedProperties;
|
---|
| 285 | }
|
---|
| 286 | /**
|
---|
| 287 | * @param int
|
---|
| 288 | */
|
---|
| 289 | public function setMinAndroidSdkVersion($minAndroidSdkVersion)
|
---|
| 290 | {
|
---|
| 291 | $this->minAndroidSdkVersion = $minAndroidSdkVersion;
|
---|
| 292 | }
|
---|
| 293 | /**
|
---|
| 294 | * @return int
|
---|
| 295 | */
|
---|
| 296 | public function getMinAndroidSdkVersion()
|
---|
| 297 | {
|
---|
| 298 | return $this->minAndroidSdkVersion;
|
---|
| 299 | }
|
---|
| 300 | /**
|
---|
| 301 | * @param string
|
---|
| 302 | */
|
---|
| 303 | public function setName($name)
|
---|
| 304 | {
|
---|
| 305 | $this->name = $name;
|
---|
| 306 | }
|
---|
| 307 | /**
|
---|
| 308 | * @return string
|
---|
| 309 | */
|
---|
| 310 | public function getName()
|
---|
| 311 | {
|
---|
| 312 | return $this->name;
|
---|
| 313 | }
|
---|
| 314 | /**
|
---|
| 315 | * @param ApplicationPermission[]
|
---|
| 316 | */
|
---|
| 317 | public function setPermissions($permissions)
|
---|
| 318 | {
|
---|
| 319 | $this->permissions = $permissions;
|
---|
| 320 | }
|
---|
| 321 | /**
|
---|
| 322 | * @return ApplicationPermission[]
|
---|
| 323 | */
|
---|
| 324 | public function getPermissions()
|
---|
| 325 | {
|
---|
| 326 | return $this->permissions;
|
---|
| 327 | }
|
---|
| 328 | /**
|
---|
| 329 | * @param string
|
---|
| 330 | */
|
---|
| 331 | public function setPlayStoreUrl($playStoreUrl)
|
---|
| 332 | {
|
---|
| 333 | $this->playStoreUrl = $playStoreUrl;
|
---|
| 334 | }
|
---|
| 335 | /**
|
---|
| 336 | * @return string
|
---|
| 337 | */
|
---|
| 338 | public function getPlayStoreUrl()
|
---|
| 339 | {
|
---|
| 340 | return $this->playStoreUrl;
|
---|
| 341 | }
|
---|
| 342 | /**
|
---|
| 343 | * @param string
|
---|
| 344 | */
|
---|
| 345 | public function setRecentChanges($recentChanges)
|
---|
| 346 | {
|
---|
| 347 | $this->recentChanges = $recentChanges;
|
---|
| 348 | }
|
---|
| 349 | /**
|
---|
| 350 | * @return string
|
---|
| 351 | */
|
---|
| 352 | public function getRecentChanges()
|
---|
| 353 | {
|
---|
| 354 | return $this->recentChanges;
|
---|
| 355 | }
|
---|
| 356 | /**
|
---|
| 357 | * @param string[]
|
---|
| 358 | */
|
---|
| 359 | public function setScreenshotUrls($screenshotUrls)
|
---|
| 360 | {
|
---|
| 361 | $this->screenshotUrls = $screenshotUrls;
|
---|
| 362 | }
|
---|
| 363 | /**
|
---|
| 364 | * @return string[]
|
---|
| 365 | */
|
---|
| 366 | public function getScreenshotUrls()
|
---|
| 367 | {
|
---|
| 368 | return $this->screenshotUrls;
|
---|
| 369 | }
|
---|
| 370 | /**
|
---|
| 371 | * @param string
|
---|
| 372 | */
|
---|
| 373 | public function setSmallIconUrl($smallIconUrl)
|
---|
| 374 | {
|
---|
| 375 | $this->smallIconUrl = $smallIconUrl;
|
---|
| 376 | }
|
---|
| 377 | /**
|
---|
| 378 | * @return string
|
---|
| 379 | */
|
---|
| 380 | public function getSmallIconUrl()
|
---|
| 381 | {
|
---|
| 382 | return $this->smallIconUrl;
|
---|
| 383 | }
|
---|
| 384 | /**
|
---|
| 385 | * @param string
|
---|
| 386 | */
|
---|
| 387 | public function setTitle($title)
|
---|
| 388 | {
|
---|
| 389 | $this->title = $title;
|
---|
| 390 | }
|
---|
| 391 | /**
|
---|
| 392 | * @return string
|
---|
| 393 | */
|
---|
| 394 | public function getTitle()
|
---|
| 395 | {
|
---|
| 396 | return $this->title;
|
---|
| 397 | }
|
---|
| 398 | /**
|
---|
| 399 | * @param string
|
---|
| 400 | */
|
---|
| 401 | public function setUpdateTime($updateTime)
|
---|
| 402 | {
|
---|
| 403 | $this->updateTime = $updateTime;
|
---|
| 404 | }
|
---|
| 405 | /**
|
---|
| 406 | * @return string
|
---|
| 407 | */
|
---|
| 408 | public function getUpdateTime()
|
---|
| 409 | {
|
---|
| 410 | return $this->updateTime;
|
---|
| 411 | }
|
---|
| 412 | }
|
---|
| 413 |
|
---|
| 414 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 415 | class_alias(Application::class, 'Google_Service_AndroidManagement_Application');
|
---|