Api.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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 Api extends \Google\Model
  19. {
  20. /**
  21. * @var string[]
  22. */
  23. public $annotations;
  24. /**
  25. * @var string
  26. */
  27. public $availability;
  28. /**
  29. * @var string
  30. */
  31. public $createTime;
  32. /**
  33. * @var string
  34. */
  35. public $description;
  36. /**
  37. * @var string
  38. */
  39. public $displayName;
  40. /**
  41. * @var string[]
  42. */
  43. public $labels;
  44. /**
  45. * @var string
  46. */
  47. public $name;
  48. /**
  49. * @var string
  50. */
  51. public $recommendedDeployment;
  52. /**
  53. * @var string
  54. */
  55. public $recommendedVersion;
  56. /**
  57. * @var string
  58. */
  59. public $updateTime;
  60. /**
  61. * @param string[]
  62. */
  63. public function setAnnotations($annotations)
  64. {
  65. $this->annotations = $annotations;
  66. }
  67. /**
  68. * @return string[]
  69. */
  70. public function getAnnotations()
  71. {
  72. return $this->annotations;
  73. }
  74. /**
  75. * @param string
  76. */
  77. public function setAvailability($availability)
  78. {
  79. $this->availability = $availability;
  80. }
  81. /**
  82. * @return string
  83. */
  84. public function getAvailability()
  85. {
  86. return $this->availability;
  87. }
  88. /**
  89. * @param string
  90. */
  91. public function setCreateTime($createTime)
  92. {
  93. $this->createTime = $createTime;
  94. }
  95. /**
  96. * @return string
  97. */
  98. public function getCreateTime()
  99. {
  100. return $this->createTime;
  101. }
  102. /**
  103. * @param string
  104. */
  105. public function setDescription($description)
  106. {
  107. $this->description = $description;
  108. }
  109. /**
  110. * @return string
  111. */
  112. public function getDescription()
  113. {
  114. return $this->description;
  115. }
  116. /**
  117. * @param string
  118. */
  119. public function setDisplayName($displayName)
  120. {
  121. $this->displayName = $displayName;
  122. }
  123. /**
  124. * @return string
  125. */
  126. public function getDisplayName()
  127. {
  128. return $this->displayName;
  129. }
  130. /**
  131. * @param string[]
  132. */
  133. public function setLabels($labels)
  134. {
  135. $this->labels = $labels;
  136. }
  137. /**
  138. * @return string[]
  139. */
  140. public function getLabels()
  141. {
  142. return $this->labels;
  143. }
  144. /**
  145. * @param string
  146. */
  147. public function setName($name)
  148. {
  149. $this->name = $name;
  150. }
  151. /**
  152. * @return string
  153. */
  154. public function getName()
  155. {
  156. return $this->name;
  157. }
  158. /**
  159. * @param string
  160. */
  161. public function setRecommendedDeployment($recommendedDeployment)
  162. {
  163. $this->recommendedDeployment = $recommendedDeployment;
  164. }
  165. /**
  166. * @return string
  167. */
  168. public function getRecommendedDeployment()
  169. {
  170. return $this->recommendedDeployment;
  171. }
  172. /**
  173. * @param string
  174. */
  175. public function setRecommendedVersion($recommendedVersion)
  176. {
  177. $this->recommendedVersion = $recommendedVersion;
  178. }
  179. /**
  180. * @return string
  181. */
  182. public function getRecommendedVersion()
  183. {
  184. return $this->recommendedVersion;
  185. }
  186. /**
  187. * @param string
  188. */
  189. public function setUpdateTime($updateTime)
  190. {
  191. $this->updateTime = $updateTime;
  192. }
  193. /**
  194. * @return string
  195. */
  196. public function getUpdateTime()
  197. {
  198. return $this->updateTime;
  199. }
  200. }
  201. // Adding a class alias for backwards compatibility with the previous class name.
  202. class_alias(Api::class, 'Google_Service_ApigeeRegistry_Api');