暫無描述

GoogleCloudDialogflowV2beta1IntentParameter.php 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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_Dialogflow_GoogleCloudDialogflowV2beta1IntentParameter extends Google_Collection
  18. {
  19. protected $collection_key = 'prompts';
  20. public $defaultValue;
  21. public $displayName;
  22. public $entityTypeDisplayName;
  23. public $isList;
  24. public $mandatory;
  25. public $name;
  26. public $prompts;
  27. public $value;
  28. public function setDefaultValue($defaultValue)
  29. {
  30. $this->defaultValue = $defaultValue;
  31. }
  32. public function getDefaultValue()
  33. {
  34. return $this->defaultValue;
  35. }
  36. public function setDisplayName($displayName)
  37. {
  38. $this->displayName = $displayName;
  39. }
  40. public function getDisplayName()
  41. {
  42. return $this->displayName;
  43. }
  44. public function setEntityTypeDisplayName($entityTypeDisplayName)
  45. {
  46. $this->entityTypeDisplayName = $entityTypeDisplayName;
  47. }
  48. public function getEntityTypeDisplayName()
  49. {
  50. return $this->entityTypeDisplayName;
  51. }
  52. public function setIsList($isList)
  53. {
  54. $this->isList = $isList;
  55. }
  56. public function getIsList()
  57. {
  58. return $this->isList;
  59. }
  60. public function setMandatory($mandatory)
  61. {
  62. $this->mandatory = $mandatory;
  63. }
  64. public function getMandatory()
  65. {
  66. return $this->mandatory;
  67. }
  68. public function setName($name)
  69. {
  70. $this->name = $name;
  71. }
  72. public function getName()
  73. {
  74. return $this->name;
  75. }
  76. public function setPrompts($prompts)
  77. {
  78. $this->prompts = $prompts;
  79. }
  80. public function getPrompts()
  81. {
  82. return $this->prompts;
  83. }
  84. public function setValue($value)
  85. {
  86. $this->value = $value;
  87. }
  88. public function getValue()
  89. {
  90. return $this->value;
  91. }
  92. }