PublisherProfile.php 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  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. namespace Google\Service\AdExchangeBuyerII;
  18. class PublisherProfile extends \Google\Collection
  19. {
  20. protected $collection_key = 'topHeadlines';
  21. /**
  22. * @var string
  23. */
  24. public $audienceDescription;
  25. /**
  26. * @var string
  27. */
  28. public $buyerPitchStatement;
  29. /**
  30. * @var string
  31. */
  32. public $directDealsContact;
  33. /**
  34. * @var string
  35. */
  36. public $displayName;
  37. /**
  38. * @var string[]
  39. */
  40. public $domains;
  41. /**
  42. * @var string
  43. */
  44. public $googlePlusUrl;
  45. /**
  46. * @var bool
  47. */
  48. public $isParent;
  49. /**
  50. * @var string
  51. */
  52. public $logoUrl;
  53. /**
  54. * @var string
  55. */
  56. public $mediaKitUrl;
  57. protected $mobileAppsType = PublisherProfileMobileApplication::class;
  58. protected $mobileAppsDataType = 'array';
  59. /**
  60. * @var string
  61. */
  62. public $overview;
  63. /**
  64. * @var string
  65. */
  66. public $programmaticDealsContact;
  67. /**
  68. * @var string
  69. */
  70. public $publisherProfileId;
  71. /**
  72. * @var string
  73. */
  74. public $rateCardInfoUrl;
  75. /**
  76. * @var string
  77. */
  78. public $samplePageUrl;
  79. protected $sellerType = Seller::class;
  80. protected $sellerDataType = '';
  81. /**
  82. * @var string[]
  83. */
  84. public $topHeadlines;
  85. /**
  86. * @param string
  87. */
  88. public function setAudienceDescription($audienceDescription)
  89. {
  90. $this->audienceDescription = $audienceDescription;
  91. }
  92. /**
  93. * @return string
  94. */
  95. public function getAudienceDescription()
  96. {
  97. return $this->audienceDescription;
  98. }
  99. /**
  100. * @param string
  101. */
  102. public function setBuyerPitchStatement($buyerPitchStatement)
  103. {
  104. $this->buyerPitchStatement = $buyerPitchStatement;
  105. }
  106. /**
  107. * @return string
  108. */
  109. public function getBuyerPitchStatement()
  110. {
  111. return $this->buyerPitchStatement;
  112. }
  113. /**
  114. * @param string
  115. */
  116. public function setDirectDealsContact($directDealsContact)
  117. {
  118. $this->directDealsContact = $directDealsContact;
  119. }
  120. /**
  121. * @return string
  122. */
  123. public function getDirectDealsContact()
  124. {
  125. return $this->directDealsContact;
  126. }
  127. /**
  128. * @param string
  129. */
  130. public function setDisplayName($displayName)
  131. {
  132. $this->displayName = $displayName;
  133. }
  134. /**
  135. * @return string
  136. */
  137. public function getDisplayName()
  138. {
  139. return $this->displayName;
  140. }
  141. /**
  142. * @param string[]
  143. */
  144. public function setDomains($domains)
  145. {
  146. $this->domains = $domains;
  147. }
  148. /**
  149. * @return string[]
  150. */
  151. public function getDomains()
  152. {
  153. return $this->domains;
  154. }
  155. /**
  156. * @param string
  157. */
  158. public function setGooglePlusUrl($googlePlusUrl)
  159. {
  160. $this->googlePlusUrl = $googlePlusUrl;
  161. }
  162. /**
  163. * @return string
  164. */
  165. public function getGooglePlusUrl()
  166. {
  167. return $this->googlePlusUrl;
  168. }
  169. /**
  170. * @param bool
  171. */
  172. public function setIsParent($isParent)
  173. {
  174. $this->isParent = $isParent;
  175. }
  176. /**
  177. * @return bool
  178. */
  179. public function getIsParent()
  180. {
  181. return $this->isParent;
  182. }
  183. /**
  184. * @param string
  185. */
  186. public function setLogoUrl($logoUrl)
  187. {
  188. $this->logoUrl = $logoUrl;
  189. }
  190. /**
  191. * @return string
  192. */
  193. public function getLogoUrl()
  194. {
  195. return $this->logoUrl;
  196. }
  197. /**
  198. * @param string
  199. */
  200. public function setMediaKitUrl($mediaKitUrl)
  201. {
  202. $this->mediaKitUrl = $mediaKitUrl;
  203. }
  204. /**
  205. * @return string
  206. */
  207. public function getMediaKitUrl()
  208. {
  209. return $this->mediaKitUrl;
  210. }
  211. /**
  212. * @param PublisherProfileMobileApplication[]
  213. */
  214. public function setMobileApps($mobileApps)
  215. {
  216. $this->mobileApps = $mobileApps;
  217. }
  218. /**
  219. * @return PublisherProfileMobileApplication[]
  220. */
  221. public function getMobileApps()
  222. {
  223. return $this->mobileApps;
  224. }
  225. /**
  226. * @param string
  227. */
  228. public function setOverview($overview)
  229. {
  230. $this->overview = $overview;
  231. }
  232. /**
  233. * @return string
  234. */
  235. public function getOverview()
  236. {
  237. return $this->overview;
  238. }
  239. /**
  240. * @param string
  241. */
  242. public function setProgrammaticDealsContact($programmaticDealsContact)
  243. {
  244. $this->programmaticDealsContact = $programmaticDealsContact;
  245. }
  246. /**
  247. * @return string
  248. */
  249. public function getProgrammaticDealsContact()
  250. {
  251. return $this->programmaticDealsContact;
  252. }
  253. /**
  254. * @param string
  255. */
  256. public function setPublisherProfileId($publisherProfileId)
  257. {
  258. $this->publisherProfileId = $publisherProfileId;
  259. }
  260. /**
  261. * @return string
  262. */
  263. public function getPublisherProfileId()
  264. {
  265. return $this->publisherProfileId;
  266. }
  267. /**
  268. * @param string
  269. */
  270. public function setRateCardInfoUrl($rateCardInfoUrl)
  271. {
  272. $this->rateCardInfoUrl = $rateCardInfoUrl;
  273. }
  274. /**
  275. * @return string
  276. */
  277. public function getRateCardInfoUrl()
  278. {
  279. return $this->rateCardInfoUrl;
  280. }
  281. /**
  282. * @param string
  283. */
  284. public function setSamplePageUrl($samplePageUrl)
  285. {
  286. $this->samplePageUrl = $samplePageUrl;
  287. }
  288. /**
  289. * @return string
  290. */
  291. public function getSamplePageUrl()
  292. {
  293. return $this->samplePageUrl;
  294. }
  295. /**
  296. * @param Seller
  297. */
  298. public function setSeller(Seller $seller)
  299. {
  300. $this->seller = $seller;
  301. }
  302. /**
  303. * @return Seller
  304. */
  305. public function getSeller()
  306. {
  307. return $this->seller;
  308. }
  309. /**
  310. * @param string[]
  311. */
  312. public function setTopHeadlines($topHeadlines)
  313. {
  314. $this->topHeadlines = $topHeadlines;
  315. }
  316. /**
  317. * @return string[]
  318. */
  319. public function getTopHeadlines()
  320. {
  321. return $this->topHeadlines;
  322. }
  323. }
  324. // Adding a class alias for backwards compatibility with the previous class name.
  325. class_alias(PublisherProfile::class, 'Google_Service_AdExchangeBuyerII_PublisherProfile');