Location.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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\DatabaseMigrationService;
  18. class Location extends \Google\Model
  19. {
  20. /**
  21. * @var string
  22. */
  23. public $displayName;
  24. /**
  25. * @var string[]
  26. */
  27. public $labels;
  28. /**
  29. * @var string
  30. */
  31. public $locationId;
  32. /**
  33. * @var array[]
  34. */
  35. public $metadata;
  36. /**
  37. * @var string
  38. */
  39. public $name;
  40. /**
  41. * @param string
  42. */
  43. public function setDisplayName($displayName)
  44. {
  45. $this->displayName = $displayName;
  46. }
  47. /**
  48. * @return string
  49. */
  50. public function getDisplayName()
  51. {
  52. return $this->displayName;
  53. }
  54. /**
  55. * @param string[]
  56. */
  57. public function setLabels($labels)
  58. {
  59. $this->labels = $labels;
  60. }
  61. /**
  62. * @return string[]
  63. */
  64. public function getLabels()
  65. {
  66. return $this->labels;
  67. }
  68. /**
  69. * @param string
  70. */
  71. public function setLocationId($locationId)
  72. {
  73. $this->locationId = $locationId;
  74. }
  75. /**
  76. * @return string
  77. */
  78. public function getLocationId()
  79. {
  80. return $this->locationId;
  81. }
  82. /**
  83. * @param array[]
  84. */
  85. public function setMetadata($metadata)
  86. {
  87. $this->metadata = $metadata;
  88. }
  89. /**
  90. * @return array[]
  91. */
  92. public function getMetadata()
  93. {
  94. return $this->metadata;
  95. }
  96. /**
  97. * @param string
  98. */
  99. public function setName($name)
  100. {
  101. $this->name = $name;
  102. }
  103. /**
  104. * @return string
  105. */
  106. public function getName()
  107. {
  108. return $this->name;
  109. }
  110. }
  111. // Adding a class alias for backwards compatibility with the previous class name.
  112. class_alias(Location::class, 'Google_Service_DatabaseMigrationService_Location');