source: vendor/google/apiclient-services/src/Dialogflow/GoogleCloudDialogflowV2Intent.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload project files

  • Property mode set to 100644
File size: 7.4 KB
Line 
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
18namespace Google\Service\Dialogflow;
19
20class GoogleCloudDialogflowV2Intent extends \Google\Collection
21{
22 protected $collection_key = 'trainingPhrases';
23 /**
24 * @var string
25 */
26 public $action;
27 /**
28 * @var string[]
29 */
30 public $defaultResponsePlatforms;
31 /**
32 * @var string
33 */
34 public $displayName;
35 /**
36 * @var bool
37 */
38 public $endInteraction;
39 /**
40 * @var string[]
41 */
42 public $events;
43 protected $followupIntentInfoType = GoogleCloudDialogflowV2IntentFollowupIntentInfo::class;
44 protected $followupIntentInfoDataType = 'array';
45 /**
46 * @var string[]
47 */
48 public $inputContextNames;
49 /**
50 * @var bool
51 */
52 public $isFallback;
53 /**
54 * @var bool
55 */
56 public $liveAgentHandoff;
57 protected $messagesType = GoogleCloudDialogflowV2IntentMessage::class;
58 protected $messagesDataType = 'array';
59 /**
60 * @var bool
61 */
62 public $mlDisabled;
63 /**
64 * @var string
65 */
66 public $name;
67 protected $outputContextsType = GoogleCloudDialogflowV2Context::class;
68 protected $outputContextsDataType = 'array';
69 protected $parametersType = GoogleCloudDialogflowV2IntentParameter::class;
70 protected $parametersDataType = 'array';
71 /**
72 * @var string
73 */
74 public $parentFollowupIntentName;
75 /**
76 * @var int
77 */
78 public $priority;
79 /**
80 * @var bool
81 */
82 public $resetContexts;
83 /**
84 * @var string
85 */
86 public $rootFollowupIntentName;
87 protected $trainingPhrasesType = GoogleCloudDialogflowV2IntentTrainingPhrase::class;
88 protected $trainingPhrasesDataType = 'array';
89 /**
90 * @var string
91 */
92 public $webhookState;
93
94 /**
95 * @param string
96 */
97 public function setAction($action)
98 {
99 $this->action = $action;
100 }
101 /**
102 * @return string
103 */
104 public function getAction()
105 {
106 return $this->action;
107 }
108 /**
109 * @param string[]
110 */
111 public function setDefaultResponsePlatforms($defaultResponsePlatforms)
112 {
113 $this->defaultResponsePlatforms = $defaultResponsePlatforms;
114 }
115 /**
116 * @return string[]
117 */
118 public function getDefaultResponsePlatforms()
119 {
120 return $this->defaultResponsePlatforms;
121 }
122 /**
123 * @param string
124 */
125 public function setDisplayName($displayName)
126 {
127 $this->displayName = $displayName;
128 }
129 /**
130 * @return string
131 */
132 public function getDisplayName()
133 {
134 return $this->displayName;
135 }
136 /**
137 * @param bool
138 */
139 public function setEndInteraction($endInteraction)
140 {
141 $this->endInteraction = $endInteraction;
142 }
143 /**
144 * @return bool
145 */
146 public function getEndInteraction()
147 {
148 return $this->endInteraction;
149 }
150 /**
151 * @param string[]
152 */
153 public function setEvents($events)
154 {
155 $this->events = $events;
156 }
157 /**
158 * @return string[]
159 */
160 public function getEvents()
161 {
162 return $this->events;
163 }
164 /**
165 * @param GoogleCloudDialogflowV2IntentFollowupIntentInfo[]
166 */
167 public function setFollowupIntentInfo($followupIntentInfo)
168 {
169 $this->followupIntentInfo = $followupIntentInfo;
170 }
171 /**
172 * @return GoogleCloudDialogflowV2IntentFollowupIntentInfo[]
173 */
174 public function getFollowupIntentInfo()
175 {
176 return $this->followupIntentInfo;
177 }
178 /**
179 * @param string[]
180 */
181 public function setInputContextNames($inputContextNames)
182 {
183 $this->inputContextNames = $inputContextNames;
184 }
185 /**
186 * @return string[]
187 */
188 public function getInputContextNames()
189 {
190 return $this->inputContextNames;
191 }
192 /**
193 * @param bool
194 */
195 public function setIsFallback($isFallback)
196 {
197 $this->isFallback = $isFallback;
198 }
199 /**
200 * @return bool
201 */
202 public function getIsFallback()
203 {
204 return $this->isFallback;
205 }
206 /**
207 * @param bool
208 */
209 public function setLiveAgentHandoff($liveAgentHandoff)
210 {
211 $this->liveAgentHandoff = $liveAgentHandoff;
212 }
213 /**
214 * @return bool
215 */
216 public function getLiveAgentHandoff()
217 {
218 return $this->liveAgentHandoff;
219 }
220 /**
221 * @param GoogleCloudDialogflowV2IntentMessage[]
222 */
223 public function setMessages($messages)
224 {
225 $this->messages = $messages;
226 }
227 /**
228 * @return GoogleCloudDialogflowV2IntentMessage[]
229 */
230 public function getMessages()
231 {
232 return $this->messages;
233 }
234 /**
235 * @param bool
236 */
237 public function setMlDisabled($mlDisabled)
238 {
239 $this->mlDisabled = $mlDisabled;
240 }
241 /**
242 * @return bool
243 */
244 public function getMlDisabled()
245 {
246 return $this->mlDisabled;
247 }
248 /**
249 * @param string
250 */
251 public function setName($name)
252 {
253 $this->name = $name;
254 }
255 /**
256 * @return string
257 */
258 public function getName()
259 {
260 return $this->name;
261 }
262 /**
263 * @param GoogleCloudDialogflowV2Context[]
264 */
265 public function setOutputContexts($outputContexts)
266 {
267 $this->outputContexts = $outputContexts;
268 }
269 /**
270 * @return GoogleCloudDialogflowV2Context[]
271 */
272 public function getOutputContexts()
273 {
274 return $this->outputContexts;
275 }
276 /**
277 * @param GoogleCloudDialogflowV2IntentParameter[]
278 */
279 public function setParameters($parameters)
280 {
281 $this->parameters = $parameters;
282 }
283 /**
284 * @return GoogleCloudDialogflowV2IntentParameter[]
285 */
286 public function getParameters()
287 {
288 return $this->parameters;
289 }
290 /**
291 * @param string
292 */
293 public function setParentFollowupIntentName($parentFollowupIntentName)
294 {
295 $this->parentFollowupIntentName = $parentFollowupIntentName;
296 }
297 /**
298 * @return string
299 */
300 public function getParentFollowupIntentName()
301 {
302 return $this->parentFollowupIntentName;
303 }
304 /**
305 * @param int
306 */
307 public function setPriority($priority)
308 {
309 $this->priority = $priority;
310 }
311 /**
312 * @return int
313 */
314 public function getPriority()
315 {
316 return $this->priority;
317 }
318 /**
319 * @param bool
320 */
321 public function setResetContexts($resetContexts)
322 {
323 $this->resetContexts = $resetContexts;
324 }
325 /**
326 * @return bool
327 */
328 public function getResetContexts()
329 {
330 return $this->resetContexts;
331 }
332 /**
333 * @param string
334 */
335 public function setRootFollowupIntentName($rootFollowupIntentName)
336 {
337 $this->rootFollowupIntentName = $rootFollowupIntentName;
338 }
339 /**
340 * @return string
341 */
342 public function getRootFollowupIntentName()
343 {
344 return $this->rootFollowupIntentName;
345 }
346 /**
347 * @param GoogleCloudDialogflowV2IntentTrainingPhrase[]
348 */
349 public function setTrainingPhrases($trainingPhrases)
350 {
351 $this->trainingPhrases = $trainingPhrases;
352 }
353 /**
354 * @return GoogleCloudDialogflowV2IntentTrainingPhrase[]
355 */
356 public function getTrainingPhrases()
357 {
358 return $this->trainingPhrases;
359 }
360 /**
361 * @param string
362 */
363 public function setWebhookState($webhookState)
364 {
365 $this->webhookState = $webhookState;
366 }
367 /**
368 * @return string
369 */
370 public function getWebhookState()
371 {
372 return $this->webhookState;
373 }
374}
375
376// Adding a class alias for backwards compatibility with the previous class name.
377class_alias(GoogleCloudDialogflowV2Intent::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2Intent');
Note: See TracBrowser for help on using the repository browser.