[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\AdExchangeBuyerII;
|
---|
| 19 |
|
---|
| 20 | class ServingContext extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string
|
---|
| 24 | */
|
---|
| 25 | public $all;
|
---|
| 26 | protected $appTypeType = AppContext::class;
|
---|
| 27 | protected $appTypeDataType = '';
|
---|
| 28 | protected $auctionTypeType = AuctionContext::class;
|
---|
| 29 | protected $auctionTypeDataType = '';
|
---|
| 30 | protected $locationType = LocationContext::class;
|
---|
| 31 | protected $locationDataType = '';
|
---|
| 32 | protected $platformType = PlatformContext::class;
|
---|
| 33 | protected $platformDataType = '';
|
---|
| 34 | protected $securityTypeType = SecurityContext::class;
|
---|
| 35 | protected $securityTypeDataType = '';
|
---|
| 36 |
|
---|
| 37 | /**
|
---|
| 38 | * @param string
|
---|
| 39 | */
|
---|
| 40 | public function setAll($all)
|
---|
| 41 | {
|
---|
| 42 | $this->all = $all;
|
---|
| 43 | }
|
---|
| 44 | /**
|
---|
| 45 | * @return string
|
---|
| 46 | */
|
---|
| 47 | public function getAll()
|
---|
| 48 | {
|
---|
| 49 | return $this->all;
|
---|
| 50 | }
|
---|
| 51 | /**
|
---|
| 52 | * @param AppContext
|
---|
| 53 | */
|
---|
| 54 | public function setAppType(AppContext $appType)
|
---|
| 55 | {
|
---|
| 56 | $this->appType = $appType;
|
---|
| 57 | }
|
---|
| 58 | /**
|
---|
| 59 | * @return AppContext
|
---|
| 60 | */
|
---|
| 61 | public function getAppType()
|
---|
| 62 | {
|
---|
| 63 | return $this->appType;
|
---|
| 64 | }
|
---|
| 65 | /**
|
---|
| 66 | * @param AuctionContext
|
---|
| 67 | */
|
---|
| 68 | public function setAuctionType(AuctionContext $auctionType)
|
---|
| 69 | {
|
---|
| 70 | $this->auctionType = $auctionType;
|
---|
| 71 | }
|
---|
| 72 | /**
|
---|
| 73 | * @return AuctionContext
|
---|
| 74 | */
|
---|
| 75 | public function getAuctionType()
|
---|
| 76 | {
|
---|
| 77 | return $this->auctionType;
|
---|
| 78 | }
|
---|
| 79 | /**
|
---|
| 80 | * @param LocationContext
|
---|
| 81 | */
|
---|
| 82 | public function setLocation(LocationContext $location)
|
---|
| 83 | {
|
---|
| 84 | $this->location = $location;
|
---|
| 85 | }
|
---|
| 86 | /**
|
---|
| 87 | * @return LocationContext
|
---|
| 88 | */
|
---|
| 89 | public function getLocation()
|
---|
| 90 | {
|
---|
| 91 | return $this->location;
|
---|
| 92 | }
|
---|
| 93 | /**
|
---|
| 94 | * @param PlatformContext
|
---|
| 95 | */
|
---|
| 96 | public function setPlatform(PlatformContext $platform)
|
---|
| 97 | {
|
---|
| 98 | $this->platform = $platform;
|
---|
| 99 | }
|
---|
| 100 | /**
|
---|
| 101 | * @return PlatformContext
|
---|
| 102 | */
|
---|
| 103 | public function getPlatform()
|
---|
| 104 | {
|
---|
| 105 | return $this->platform;
|
---|
| 106 | }
|
---|
| 107 | /**
|
---|
| 108 | * @param SecurityContext
|
---|
| 109 | */
|
---|
| 110 | public function setSecurityType(SecurityContext $securityType)
|
---|
| 111 | {
|
---|
| 112 | $this->securityType = $securityType;
|
---|
| 113 | }
|
---|
| 114 | /**
|
---|
| 115 | * @return SecurityContext
|
---|
| 116 | */
|
---|
| 117 | public function getSecurityType()
|
---|
| 118 | {
|
---|
| 119 | return $this->securityType;
|
---|
| 120 | }
|
---|
| 121 | }
|
---|
| 122 |
|
---|
| 123 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 124 | class_alias(ServingContext::class, 'Google_Service_AdExchangeBuyerII_ServingContext');
|
---|