Nav apraksta

Api.php 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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_ServiceManagement_Api extends Google_Collection
  18. {
  19. protected $collection_key = 'options';
  20. protected $methodsType = 'Google_Service_ServiceManagement_Method';
  21. protected $methodsDataType = 'array';
  22. protected $mixinsType = 'Google_Service_ServiceManagement_Mixin';
  23. protected $mixinsDataType = 'array';
  24. public $name;
  25. protected $optionsType = 'Google_Service_ServiceManagement_Option';
  26. protected $optionsDataType = 'array';
  27. protected $sourceContextType = 'Google_Service_ServiceManagement_SourceContext';
  28. protected $sourceContextDataType = '';
  29. public $syntax;
  30. public $version;
  31. /**
  32. * @param Google_Service_ServiceManagement_Method
  33. */
  34. public function setMethods($methods)
  35. {
  36. $this->methods = $methods;
  37. }
  38. /**
  39. * @return Google_Service_ServiceManagement_Method
  40. */
  41. public function getMethods()
  42. {
  43. return $this->methods;
  44. }
  45. /**
  46. * @param Google_Service_ServiceManagement_Mixin
  47. */
  48. public function setMixins($mixins)
  49. {
  50. $this->mixins = $mixins;
  51. }
  52. /**
  53. * @return Google_Service_ServiceManagement_Mixin
  54. */
  55. public function getMixins()
  56. {
  57. return $this->mixins;
  58. }
  59. public function setName($name)
  60. {
  61. $this->name = $name;
  62. }
  63. public function getName()
  64. {
  65. return $this->name;
  66. }
  67. /**
  68. * @param Google_Service_ServiceManagement_Option
  69. */
  70. public function setOptions($options)
  71. {
  72. $this->options = $options;
  73. }
  74. /**
  75. * @return Google_Service_ServiceManagement_Option
  76. */
  77. public function getOptions()
  78. {
  79. return $this->options;
  80. }
  81. /**
  82. * @param Google_Service_ServiceManagement_SourceContext
  83. */
  84. public function setSourceContext(Google_Service_ServiceManagement_SourceContext $sourceContext)
  85. {
  86. $this->sourceContext = $sourceContext;
  87. }
  88. /**
  89. * @return Google_Service_ServiceManagement_SourceContext
  90. */
  91. public function getSourceContext()
  92. {
  93. return $this->sourceContext;
  94. }
  95. public function setSyntax($syntax)
  96. {
  97. $this->syntax = $syntax;
  98. }
  99. public function getSyntax()
  100. {
  101. return $this->syntax;
  102. }
  103. public function setVersion($version)
  104. {
  105. $this->version = $version;
  106. }
  107. public function getVersion()
  108. {
  109. return $this->version;
  110. }
  111. }