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