[f9c482b] | 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\DisplayVideo;
|
---|
| 19 |
|
---|
| 20 | class Partner extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $adServerConfigType = PartnerAdServerConfig::class;
|
---|
| 23 | protected $adServerConfigDataType = '';
|
---|
| 24 | protected $billingConfigType = PartnerBillingConfig::class;
|
---|
| 25 | protected $billingConfigDataType = '';
|
---|
| 26 | protected $dataAccessConfigType = PartnerDataAccessConfig::class;
|
---|
| 27 | protected $dataAccessConfigDataType = '';
|
---|
| 28 | /**
|
---|
| 29 | * @var string
|
---|
| 30 | */
|
---|
| 31 | public $displayName;
|
---|
| 32 | /**
|
---|
| 33 | * @var string
|
---|
| 34 | */
|
---|
| 35 | public $entityStatus;
|
---|
| 36 | protected $exchangeConfigType = ExchangeConfig::class;
|
---|
| 37 | protected $exchangeConfigDataType = '';
|
---|
| 38 | protected $generalConfigType = PartnerGeneralConfig::class;
|
---|
| 39 | protected $generalConfigDataType = '';
|
---|
| 40 | /**
|
---|
| 41 | * @var string
|
---|
| 42 | */
|
---|
| 43 | public $name;
|
---|
| 44 | /**
|
---|
| 45 | * @var string
|
---|
| 46 | */
|
---|
| 47 | public $partnerId;
|
---|
| 48 | /**
|
---|
| 49 | * @var string
|
---|
| 50 | */
|
---|
| 51 | public $updateTime;
|
---|
| 52 |
|
---|
| 53 | /**
|
---|
| 54 | * @param PartnerAdServerConfig
|
---|
| 55 | */
|
---|
| 56 | public function setAdServerConfig(PartnerAdServerConfig $adServerConfig)
|
---|
| 57 | {
|
---|
| 58 | $this->adServerConfig = $adServerConfig;
|
---|
| 59 | }
|
---|
| 60 | /**
|
---|
| 61 | * @return PartnerAdServerConfig
|
---|
| 62 | */
|
---|
| 63 | public function getAdServerConfig()
|
---|
| 64 | {
|
---|
| 65 | return $this->adServerConfig;
|
---|
| 66 | }
|
---|
| 67 | /**
|
---|
| 68 | * @param PartnerBillingConfig
|
---|
| 69 | */
|
---|
| 70 | public function setBillingConfig(PartnerBillingConfig $billingConfig)
|
---|
| 71 | {
|
---|
| 72 | $this->billingConfig = $billingConfig;
|
---|
| 73 | }
|
---|
| 74 | /**
|
---|
| 75 | * @return PartnerBillingConfig
|
---|
| 76 | */
|
---|
| 77 | public function getBillingConfig()
|
---|
| 78 | {
|
---|
| 79 | return $this->billingConfig;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @param PartnerDataAccessConfig
|
---|
| 83 | */
|
---|
| 84 | public function setDataAccessConfig(PartnerDataAccessConfig $dataAccessConfig)
|
---|
| 85 | {
|
---|
| 86 | $this->dataAccessConfig = $dataAccessConfig;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @return PartnerDataAccessConfig
|
---|
| 90 | */
|
---|
| 91 | public function getDataAccessConfig()
|
---|
| 92 | {
|
---|
| 93 | return $this->dataAccessConfig;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @param string
|
---|
| 97 | */
|
---|
| 98 | public function setDisplayName($displayName)
|
---|
| 99 | {
|
---|
| 100 | $this->displayName = $displayName;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @return string
|
---|
| 104 | */
|
---|
| 105 | public function getDisplayName()
|
---|
| 106 | {
|
---|
| 107 | return $this->displayName;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @param string
|
---|
| 111 | */
|
---|
| 112 | public function setEntityStatus($entityStatus)
|
---|
| 113 | {
|
---|
| 114 | $this->entityStatus = $entityStatus;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @return string
|
---|
| 118 | */
|
---|
| 119 | public function getEntityStatus()
|
---|
| 120 | {
|
---|
| 121 | return $this->entityStatus;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @param ExchangeConfig
|
---|
| 125 | */
|
---|
| 126 | public function setExchangeConfig(ExchangeConfig $exchangeConfig)
|
---|
| 127 | {
|
---|
| 128 | $this->exchangeConfig = $exchangeConfig;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @return ExchangeConfig
|
---|
| 132 | */
|
---|
| 133 | public function getExchangeConfig()
|
---|
| 134 | {
|
---|
| 135 | return $this->exchangeConfig;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @param PartnerGeneralConfig
|
---|
| 139 | */
|
---|
| 140 | public function setGeneralConfig(PartnerGeneralConfig $generalConfig)
|
---|
| 141 | {
|
---|
| 142 | $this->generalConfig = $generalConfig;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @return PartnerGeneralConfig
|
---|
| 146 | */
|
---|
| 147 | public function getGeneralConfig()
|
---|
| 148 | {
|
---|
| 149 | return $this->generalConfig;
|
---|
| 150 | }
|
---|
| 151 | /**
|
---|
| 152 | * @param string
|
---|
| 153 | */
|
---|
| 154 | public function setName($name)
|
---|
| 155 | {
|
---|
| 156 | $this->name = $name;
|
---|
| 157 | }
|
---|
| 158 | /**
|
---|
| 159 | * @return string
|
---|
| 160 | */
|
---|
| 161 | public function getName()
|
---|
| 162 | {
|
---|
| 163 | return $this->name;
|
---|
| 164 | }
|
---|
| 165 | /**
|
---|
| 166 | * @param string
|
---|
| 167 | */
|
---|
| 168 | public function setPartnerId($partnerId)
|
---|
| 169 | {
|
---|
| 170 | $this->partnerId = $partnerId;
|
---|
| 171 | }
|
---|
| 172 | /**
|
---|
| 173 | * @return string
|
---|
| 174 | */
|
---|
| 175 | public function getPartnerId()
|
---|
| 176 | {
|
---|
| 177 | return $this->partnerId;
|
---|
| 178 | }
|
---|
| 179 | /**
|
---|
| 180 | * @param string
|
---|
| 181 | */
|
---|
| 182 | public function setUpdateTime($updateTime)
|
---|
| 183 | {
|
---|
| 184 | $this->updateTime = $updateTime;
|
---|
| 185 | }
|
---|
| 186 | /**
|
---|
| 187 | * @return string
|
---|
| 188 | */
|
---|
| 189 | public function getUpdateTime()
|
---|
| 190 | {
|
---|
| 191 | return $this->updateTime;
|
---|
| 192 | }
|
---|
| 193 | }
|
---|
| 194 |
|
---|
| 195 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 196 | class_alias(Partner::class, 'Google_Service_DisplayVideo_Partner');
|
---|