説明なし

Enum.php 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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_ServiceUser_Enum extends Google_Collection
  18. {
  19. protected $collection_key = 'options';
  20. protected $enumvalueType = 'Google_Service_ServiceUser_EnumValue';
  21. protected $enumvalueDataType = 'array';
  22. public $name;
  23. protected $optionsType = 'Google_Service_ServiceUser_Option';
  24. protected $optionsDataType = 'array';
  25. protected $sourceContextType = 'Google_Service_ServiceUser_SourceContext';
  26. protected $sourceContextDataType = '';
  27. public $syntax;
  28. /**
  29. * @param Google_Service_ServiceUser_EnumValue
  30. */
  31. public function setEnumvalue($enumvalue)
  32. {
  33. $this->enumvalue = $enumvalue;
  34. }
  35. /**
  36. * @return Google_Service_ServiceUser_EnumValue
  37. */
  38. public function getEnumvalue()
  39. {
  40. return $this->enumvalue;
  41. }
  42. public function setName($name)
  43. {
  44. $this->name = $name;
  45. }
  46. public function getName()
  47. {
  48. return $this->name;
  49. }
  50. /**
  51. * @param Google_Service_ServiceUser_Option
  52. */
  53. public function setOptions($options)
  54. {
  55. $this->options = $options;
  56. }
  57. /**
  58. * @return Google_Service_ServiceUser_Option
  59. */
  60. public function getOptions()
  61. {
  62. return $this->options;
  63. }
  64. /**
  65. * @param Google_Service_ServiceUser_SourceContext
  66. */
  67. public function setSourceContext(Google_Service_ServiceUser_SourceContext $sourceContext)
  68. {
  69. $this->sourceContext = $sourceContext;
  70. }
  71. /**
  72. * @return Google_Service_ServiceUser_SourceContext
  73. */
  74. public function getSourceContext()
  75. {
  76. return $this->sourceContext;
  77. }
  78. public function setSyntax($syntax)
  79. {
  80. $this->syntax = $syntax;
  81. }
  82. public function getSyntax()
  83. {
  84. return $this->syntax;
  85. }
  86. }