Без опису

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. class Google_Service_Dfareporting_GeoTargeting extends Google_Collection
  18. {
  19. protected $collection_key = 'regions';
  20. protected $citiesType = 'Google_Service_Dfareporting_City';
  21. protected $citiesDataType = 'array';
  22. protected $countriesType = 'Google_Service_Dfareporting_Country';
  23. protected $countriesDataType = 'array';
  24. public $excludeCountries;
  25. protected $metrosType = 'Google_Service_Dfareporting_Metro';
  26. protected $metrosDataType = 'array';
  27. protected $postalCodesType = 'Google_Service_Dfareporting_PostalCode';
  28. protected $postalCodesDataType = 'array';
  29. protected $regionsType = 'Google_Service_Dfareporting_Region';
  30. protected $regionsDataType = 'array';
  31. /**
  32. * @param Google_Service_Dfareporting_City
  33. */
  34. public function setCities($cities)
  35. {
  36. $this->cities = $cities;
  37. }
  38. /**
  39. * @return Google_Service_Dfareporting_City
  40. */
  41. public function getCities()
  42. {
  43. return $this->cities;
  44. }
  45. /**
  46. * @param Google_Service_Dfareporting_Country
  47. */
  48. public function setCountries($countries)
  49. {
  50. $this->countries = $countries;
  51. }
  52. /**
  53. * @return Google_Service_Dfareporting_Country
  54. */
  55. public function getCountries()
  56. {
  57. return $this->countries;
  58. }
  59. public function setExcludeCountries($excludeCountries)
  60. {
  61. $this->excludeCountries = $excludeCountries;
  62. }
  63. public function getExcludeCountries()
  64. {
  65. return $this->excludeCountries;
  66. }
  67. /**
  68. * @param Google_Service_Dfareporting_Metro
  69. */
  70. public function setMetros($metros)
  71. {
  72. $this->metros = $metros;
  73. }
  74. /**
  75. * @return Google_Service_Dfareporting_Metro
  76. */
  77. public function getMetros()
  78. {
  79. return $this->metros;
  80. }
  81. /**
  82. * @param Google_Service_Dfareporting_PostalCode
  83. */
  84. public function setPostalCodes($postalCodes)
  85. {
  86. $this->postalCodes = $postalCodes;
  87. }
  88. /**
  89. * @return Google_Service_Dfareporting_PostalCode
  90. */
  91. public function getPostalCodes()
  92. {
  93. return $this->postalCodes;
  94. }
  95. /**
  96. * @param Google_Service_Dfareporting_Region
  97. */
  98. public function setRegions($regions)
  99. {
  100. $this->regions = $regions;
  101. }
  102. /**
  103. * @return Google_Service_Dfareporting_Region
  104. */
  105. public function getRegions()
  106. {
  107. return $this->regions;
  108. }
  109. }