ApiVersion.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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\ApigeeRegistry;
  18. class ApiVersion extends \Google\Model
  19. {
  20. /**
  21. * @var string[]
  22. */
  23. public $annotations;
  24. /**
  25. * @var string
  26. */
  27. public $createTime;
  28. /**
  29. * @var string
  30. */
  31. public $description;
  32. /**
  33. * @var string
  34. */
  35. public $displayName;
  36. /**
  37. * @var string[]
  38. */
  39. public $labels;
  40. /**
  41. * @var string
  42. */
  43. public $name;
  44. /**
  45. * @var string
  46. */
  47. public $state;
  48. /**
  49. * @var string
  50. */
  51. public $updateTime;
  52. /**
  53. * @param string[]
  54. */
  55. public function setAnnotations($annotations)
  56. {
  57. $this->annotations = $annotations;
  58. }
  59. /**
  60. * @return string[]
  61. */
  62. public function getAnnotations()
  63. {
  64. return $this->annotations;
  65. }
  66. /**
  67. * @param string
  68. */
  69. public function setCreateTime($createTime)
  70. {
  71. $this->createTime = $createTime;
  72. }
  73. /**
  74. * @return string
  75. */
  76. public function getCreateTime()
  77. {
  78. return $this->createTime;
  79. }
  80. /**
  81. * @param string
  82. */
  83. public function setDescription($description)
  84. {
  85. $this->description = $description;
  86. }
  87. /**
  88. * @return string
  89. */
  90. public function getDescription()
  91. {
  92. return $this->description;
  93. }
  94. /**
  95. * @param string
  96. */
  97. public function setDisplayName($displayName)
  98. {
  99. $this->displayName = $displayName;
  100. }
  101. /**
  102. * @return string
  103. */
  104. public function getDisplayName()
  105. {
  106. return $this->displayName;
  107. }
  108. /**
  109. * @param string[]
  110. */
  111. public function setLabels($labels)
  112. {
  113. $this->labels = $labels;
  114. }
  115. /**
  116. * @return string[]
  117. */
  118. public function getLabels()
  119. {
  120. return $this->labels;
  121. }
  122. /**
  123. * @param string
  124. */
  125. public function setName($name)
  126. {
  127. $this->name = $name;
  128. }
  129. /**
  130. * @return string
  131. */
  132. public function getName()
  133. {
  134. return $this->name;
  135. }
  136. /**
  137. * @param string
  138. */
  139. public function setState($state)
  140. {
  141. $this->state = $state;
  142. }
  143. /**
  144. * @return string
  145. */
  146. public function getState()
  147. {
  148. return $this->state;
  149. }
  150. /**
  151. * @param string
  152. */
  153. public function setUpdateTime($updateTime)
  154. {
  155. $this->updateTime = $updateTime;
  156. }
  157. /**
  158. * @return string
  159. */
  160. public function getUpdateTime()
  161. {
  162. return $this->updateTime;
  163. }
  164. }
  165. // Adding a class alias for backwards compatibility with the previous class name.
  166. class_alias(ApiVersion::class, 'Google_Service_ApigeeRegistry_ApiVersion');