暫無描述

GeolayerdataGeo.php 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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_Books_GeolayerdataGeo extends Google_Collection
  18. {
  19. protected $collection_key = 'boundary';
  20. protected $boundaryType = 'Google_Service_Books_GeolayerdataGeoBoundary';
  21. protected $boundaryDataType = 'array';
  22. public $cachePolicy;
  23. public $countryCode;
  24. public $latitude;
  25. public $longitude;
  26. public $mapType;
  27. protected $viewportType = 'Google_Service_Books_GeolayerdataGeoViewport';
  28. protected $viewportDataType = '';
  29. public $zoom;
  30. /**
  31. * @param Google_Service_Books_GeolayerdataGeoBoundary
  32. */
  33. public function setBoundary($boundary)
  34. {
  35. $this->boundary = $boundary;
  36. }
  37. /**
  38. * @return Google_Service_Books_GeolayerdataGeoBoundary
  39. */
  40. public function getBoundary()
  41. {
  42. return $this->boundary;
  43. }
  44. public function setCachePolicy($cachePolicy)
  45. {
  46. $this->cachePolicy = $cachePolicy;
  47. }
  48. public function getCachePolicy()
  49. {
  50. return $this->cachePolicy;
  51. }
  52. public function setCountryCode($countryCode)
  53. {
  54. $this->countryCode = $countryCode;
  55. }
  56. public function getCountryCode()
  57. {
  58. return $this->countryCode;
  59. }
  60. public function setLatitude($latitude)
  61. {
  62. $this->latitude = $latitude;
  63. }
  64. public function getLatitude()
  65. {
  66. return $this->latitude;
  67. }
  68. public function setLongitude($longitude)
  69. {
  70. $this->longitude = $longitude;
  71. }
  72. public function getLongitude()
  73. {
  74. return $this->longitude;
  75. }
  76. public function setMapType($mapType)
  77. {
  78. $this->mapType = $mapType;
  79. }
  80. public function getMapType()
  81. {
  82. return $this->mapType;
  83. }
  84. /**
  85. * @param Google_Service_Books_GeolayerdataGeoViewport
  86. */
  87. public function setViewport(Google_Service_Books_GeolayerdataGeoViewport $viewport)
  88. {
  89. $this->viewport = $viewport;
  90. }
  91. /**
  92. * @return Google_Service_Books_GeolayerdataGeoViewport
  93. */
  94. public function getViewport()
  95. {
  96. return $this->viewport;
  97. }
  98. public function setZoom($zoom)
  99. {
  100. $this->zoom = $zoom;
  101. }
  102. public function getZoom()
  103. {
  104. return $this->zoom;
  105. }
  106. }