暂无描述

Office.php 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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_CivicInfo_Office extends Google_Collection
  18. {
  19. protected $collection_key = 'sources';
  20. public $divisionId;
  21. public $levels;
  22. public $name;
  23. public $officialIndices;
  24. public $roles;
  25. protected $sourcesType = 'Google_Service_CivicInfo_Source';
  26. protected $sourcesDataType = 'array';
  27. public function setDivisionId($divisionId)
  28. {
  29. $this->divisionId = $divisionId;
  30. }
  31. public function getDivisionId()
  32. {
  33. return $this->divisionId;
  34. }
  35. public function setLevels($levels)
  36. {
  37. $this->levels = $levels;
  38. }
  39. public function getLevels()
  40. {
  41. return $this->levels;
  42. }
  43. public function setName($name)
  44. {
  45. $this->name = $name;
  46. }
  47. public function getName()
  48. {
  49. return $this->name;
  50. }
  51. public function setOfficialIndices($officialIndices)
  52. {
  53. $this->officialIndices = $officialIndices;
  54. }
  55. public function getOfficialIndices()
  56. {
  57. return $this->officialIndices;
  58. }
  59. public function setRoles($roles)
  60. {
  61. $this->roles = $roles;
  62. }
  63. public function getRoles()
  64. {
  65. return $this->roles;
  66. }
  67. /**
  68. * @param Google_Service_CivicInfo_Source
  69. */
  70. public function setSources($sources)
  71. {
  72. $this->sources = $sources;
  73. }
  74. /**
  75. * @return Google_Service_CivicInfo_Source
  76. */
  77. public function getSources()
  78. {
  79. return $this->sources;
  80. }
  81. }