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

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

Upload project files

  • Property mode set to 100644
File size: 7.0 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 GoogleCloudDialogflowV2beta1QueryResult extends \Google\Collection
21{
22 protected $collection_key = 'outputContexts';
23 /**
24 * @var string
25 */
26 public $action;
27 /**
28 * @var bool
29 */
30 public $allRequiredParamsPresent;
31 /**
32 * @var bool
33 */
34 public $cancelsSlotFilling;
35 /**
36 * @var array[]
37 */
38 public $diagnosticInfo;
39 protected $fulfillmentMessagesType = GoogleCloudDialogflowV2beta1IntentMessage::class;
40 protected $fulfillmentMessagesDataType = 'array';
41 /**
42 * @var string
43 */
44 public $fulfillmentText;
45 protected $intentType = GoogleCloudDialogflowV2beta1Intent::class;
46 protected $intentDataType = '';
47 /**
48 * @var float
49 */
50 public $intentDetectionConfidence;
51 protected $knowledgeAnswersType = GoogleCloudDialogflowV2beta1KnowledgeAnswers::class;
52 protected $knowledgeAnswersDataType = '';
53 /**
54 * @var string
55 */
56 public $languageCode;
57 protected $outputContextsType = GoogleCloudDialogflowV2beta1Context::class;
58 protected $outputContextsDataType = 'array';
59 /**
60 * @var array[]
61 */
62 public $parameters;
63 /**
64 * @var string
65 */
66 public $queryText;
67 protected $sentimentAnalysisResultType = GoogleCloudDialogflowV2beta1SentimentAnalysisResult::class;
68 protected $sentimentAnalysisResultDataType = '';
69 /**
70 * @var float
71 */
72 public $speechRecognitionConfidence;
73 /**
74 * @var array[]
75 */
76 public $webhookPayload;
77 /**
78 * @var string
79 */
80 public $webhookSource;
81
82 /**
83 * @param string
84 */
85 public function setAction($action)
86 {
87 $this->action = $action;
88 }
89 /**
90 * @return string
91 */
92 public function getAction()
93 {
94 return $this->action;
95 }
96 /**
97 * @param bool
98 */
99 public function setAllRequiredParamsPresent($allRequiredParamsPresent)
100 {
101 $this->allRequiredParamsPresent = $allRequiredParamsPresent;
102 }
103 /**
104 * @return bool
105 */
106 public function getAllRequiredParamsPresent()
107 {
108 return $this->allRequiredParamsPresent;
109 }
110 /**
111 * @param bool
112 */
113 public function setCancelsSlotFilling($cancelsSlotFilling)
114 {
115 $this->cancelsSlotFilling = $cancelsSlotFilling;
116 }
117 /**
118 * @return bool
119 */
120 public function getCancelsSlotFilling()
121 {
122 return $this->cancelsSlotFilling;
123 }
124 /**
125 * @param array[]
126 */
127 public function setDiagnosticInfo($diagnosticInfo)
128 {
129 $this->diagnosticInfo = $diagnosticInfo;
130 }
131 /**
132 * @return array[]
133 */
134 public function getDiagnosticInfo()
135 {
136 return $this->diagnosticInfo;
137 }
138 /**
139 * @param GoogleCloudDialogflowV2beta1IntentMessage[]
140 */
141 public function setFulfillmentMessages($fulfillmentMessages)
142 {
143 $this->fulfillmentMessages = $fulfillmentMessages;
144 }
145 /**
146 * @return GoogleCloudDialogflowV2beta1IntentMessage[]
147 */
148 public function getFulfillmentMessages()
149 {
150 return $this->fulfillmentMessages;
151 }
152 /**
153 * @param string
154 */
155 public function setFulfillmentText($fulfillmentText)
156 {
157 $this->fulfillmentText = $fulfillmentText;
158 }
159 /**
160 * @return string
161 */
162 public function getFulfillmentText()
163 {
164 return $this->fulfillmentText;
165 }
166 /**
167 * @param GoogleCloudDialogflowV2beta1Intent
168 */
169 public function setIntent(GoogleCloudDialogflowV2beta1Intent $intent)
170 {
171 $this->intent = $intent;
172 }
173 /**
174 * @return GoogleCloudDialogflowV2beta1Intent
175 */
176 public function getIntent()
177 {
178 return $this->intent;
179 }
180 /**
181 * @param float
182 */
183 public function setIntentDetectionConfidence($intentDetectionConfidence)
184 {
185 $this->intentDetectionConfidence = $intentDetectionConfidence;
186 }
187 /**
188 * @return float
189 */
190 public function getIntentDetectionConfidence()
191 {
192 return $this->intentDetectionConfidence;
193 }
194 /**
195 * @param GoogleCloudDialogflowV2beta1KnowledgeAnswers
196 */
197 public function setKnowledgeAnswers(GoogleCloudDialogflowV2beta1KnowledgeAnswers $knowledgeAnswers)
198 {
199 $this->knowledgeAnswers = $knowledgeAnswers;
200 }
201 /**
202 * @return GoogleCloudDialogflowV2beta1KnowledgeAnswers
203 */
204 public function getKnowledgeAnswers()
205 {
206 return $this->knowledgeAnswers;
207 }
208 /**
209 * @param string
210 */
211 public function setLanguageCode($languageCode)
212 {
213 $this->languageCode = $languageCode;
214 }
215 /**
216 * @return string
217 */
218 public function getLanguageCode()
219 {
220 return $this->languageCode;
221 }
222 /**
223 * @param GoogleCloudDialogflowV2beta1Context[]
224 */
225 public function setOutputContexts($outputContexts)
226 {
227 $this->outputContexts = $outputContexts;
228 }
229 /**
230 * @return GoogleCloudDialogflowV2beta1Context[]
231 */
232 public function getOutputContexts()
233 {
234 return $this->outputContexts;
235 }
236 /**
237 * @param array[]
238 */
239 public function setParameters($parameters)
240 {
241 $this->parameters = $parameters;
242 }
243 /**
244 * @return array[]
245 */
246 public function getParameters()
247 {
248 return $this->parameters;
249 }
250 /**
251 * @param string
252 */
253 public function setQueryText($queryText)
254 {
255 $this->queryText = $queryText;
256 }
257 /**
258 * @return string
259 */
260 public function getQueryText()
261 {
262 return $this->queryText;
263 }
264 /**
265 * @param GoogleCloudDialogflowV2beta1SentimentAnalysisResult
266 */
267 public function setSentimentAnalysisResult(GoogleCloudDialogflowV2beta1SentimentAnalysisResult $sentimentAnalysisResult)
268 {
269 $this->sentimentAnalysisResult = $sentimentAnalysisResult;
270 }
271 /**
272 * @return GoogleCloudDialogflowV2beta1SentimentAnalysisResult
273 */
274 public function getSentimentAnalysisResult()
275 {
276 return $this->sentimentAnalysisResult;
277 }
278 /**
279 * @param float
280 */
281 public function setSpeechRecognitionConfidence($speechRecognitionConfidence)
282 {
283 $this->speechRecognitionConfidence = $speechRecognitionConfidence;
284 }
285 /**
286 * @return float
287 */
288 public function getSpeechRecognitionConfidence()
289 {
290 return $this->speechRecognitionConfidence;
291 }
292 /**
293 * @param array[]
294 */
295 public function setWebhookPayload($webhookPayload)
296 {
297 $this->webhookPayload = $webhookPayload;
298 }
299 /**
300 * @return array[]
301 */
302 public function getWebhookPayload()
303 {
304 return $this->webhookPayload;
305 }
306 /**
307 * @param string
308 */
309 public function setWebhookSource($webhookSource)
310 {
311 $this->webhookSource = $webhookSource;
312 }
313 /**
314 * @return string
315 */
316 public function getWebhookSource()
317 {
318 return $this->webhookSource;
319 }
320}
321
322// Adding a class alias for backwards compatibility with the previous class name.
323class_alias(GoogleCloudDialogflowV2beta1QueryResult::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1QueryResult');
Note: See TracBrowser for help on using the repository browser.