暫無描述

GoogleCloudDialogflowV2Intent.php 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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_GoogleCloudDialogflowV2Intent extends Google_Collection
  18. {
  19. protected $collection_key = 'trainingPhrases';
  20. public $action;
  21. public $defaultResponsePlatforms;
  22. public $displayName;
  23. public $events;
  24. protected $followupIntentInfoType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentFollowupIntentInfo';
  25. protected $followupIntentInfoDataType = 'array';
  26. public $inputContextNames;
  27. public $isFallback;
  28. protected $messagesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage';
  29. protected $messagesDataType = 'array';
  30. public $mlDisabled;
  31. public $name;
  32. protected $outputContextsType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Context';
  33. protected $outputContextsDataType = 'array';
  34. protected $parametersType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentParameter';
  35. protected $parametersDataType = 'array';
  36. public $parentFollowupIntentName;
  37. public $priority;
  38. public $resetContexts;
  39. public $rootFollowupIntentName;
  40. protected $trainingPhrasesType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrase';
  41. protected $trainingPhrasesDataType = 'array';
  42. public $webhookState;
  43. public function setAction($action)
  44. {
  45. $this->action = $action;
  46. }
  47. public function getAction()
  48. {
  49. return $this->action;
  50. }
  51. public function setDefaultResponsePlatforms($defaultResponsePlatforms)
  52. {
  53. $this->defaultResponsePlatforms = $defaultResponsePlatforms;
  54. }
  55. public function getDefaultResponsePlatforms()
  56. {
  57. return $this->defaultResponsePlatforms;
  58. }
  59. public function setDisplayName($displayName)
  60. {
  61. $this->displayName = $displayName;
  62. }
  63. public function getDisplayName()
  64. {
  65. return $this->displayName;
  66. }
  67. public function setEvents($events)
  68. {
  69. $this->events = $events;
  70. }
  71. public function getEvents()
  72. {
  73. return $this->events;
  74. }
  75. /**
  76. * @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentFollowupIntentInfo
  77. */
  78. public function setFollowupIntentInfo($followupIntentInfo)
  79. {
  80. $this->followupIntentInfo = $followupIntentInfo;
  81. }
  82. /**
  83. * @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentFollowupIntentInfo
  84. */
  85. public function getFollowupIntentInfo()
  86. {
  87. return $this->followupIntentInfo;
  88. }
  89. public function setInputContextNames($inputContextNames)
  90. {
  91. $this->inputContextNames = $inputContextNames;
  92. }
  93. public function getInputContextNames()
  94. {
  95. return $this->inputContextNames;
  96. }
  97. public function setIsFallback($isFallback)
  98. {
  99. $this->isFallback = $isFallback;
  100. }
  101. public function getIsFallback()
  102. {
  103. return $this->isFallback;
  104. }
  105. /**
  106. * @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage
  107. */
  108. public function setMessages($messages)
  109. {
  110. $this->messages = $messages;
  111. }
  112. /**
  113. * @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentMessage
  114. */
  115. public function getMessages()
  116. {
  117. return $this->messages;
  118. }
  119. public function setMlDisabled($mlDisabled)
  120. {
  121. $this->mlDisabled = $mlDisabled;
  122. }
  123. public function getMlDisabled()
  124. {
  125. return $this->mlDisabled;
  126. }
  127. public function setName($name)
  128. {
  129. $this->name = $name;
  130. }
  131. public function getName()
  132. {
  133. return $this->name;
  134. }
  135. /**
  136. * @param Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
  137. */
  138. public function setOutputContexts($outputContexts)
  139. {
  140. $this->outputContexts = $outputContexts;
  141. }
  142. /**
  143. * @return Google_Service_Dialogflow_GoogleCloudDialogflowV2Context
  144. */
  145. public function getOutputContexts()
  146. {
  147. return $this->outputContexts;
  148. }
  149. /**
  150. * @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentParameter
  151. */
  152. public function setParameters($parameters)
  153. {
  154. $this->parameters = $parameters;
  155. }
  156. /**
  157. * @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentParameter
  158. */
  159. public function getParameters()
  160. {
  161. return $this->parameters;
  162. }
  163. public function setParentFollowupIntentName($parentFollowupIntentName)
  164. {
  165. $this->parentFollowupIntentName = $parentFollowupIntentName;
  166. }
  167. public function getParentFollowupIntentName()
  168. {
  169. return $this->parentFollowupIntentName;
  170. }
  171. public function setPriority($priority)
  172. {
  173. $this->priority = $priority;
  174. }
  175. public function getPriority()
  176. {
  177. return $this->priority;
  178. }
  179. public function setResetContexts($resetContexts)
  180. {
  181. $this->resetContexts = $resetContexts;
  182. }
  183. public function getResetContexts()
  184. {
  185. return $this->resetContexts;
  186. }
  187. public function setRootFollowupIntentName($rootFollowupIntentName)
  188. {
  189. $this->rootFollowupIntentName = $rootFollowupIntentName;
  190. }
  191. public function getRootFollowupIntentName()
  192. {
  193. return $this->rootFollowupIntentName;
  194. }
  195. /**
  196. * @param Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrase
  197. */
  198. public function setTrainingPhrases($trainingPhrases)
  199. {
  200. $this->trainingPhrases = $trainingPhrases;
  201. }
  202. /**
  203. * @return Google_Service_Dialogflow_GoogleCloudDialogflowV2IntentTrainingPhrase
  204. */
  205. public function getTrainingPhrases()
  206. {
  207. return $this->trainingPhrases;
  208. }
  209. public function setWebhookState($webhookState)
  210. {
  211. $this->webhookState = $webhookState;
  212. }
  213. public function getWebhookState()
  214. {
  215. return $this->webhookState;
  216. }
  217. }