source: vendor/google/apiclient-services/src/Dialogflow/GoogleCloudDialogflowV2SuggestionResult.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: 3.6 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 GoogleCloudDialogflowV2SuggestionResult extends \Google\Model
21{
22 protected $errorType = GoogleRpcStatus::class;
23 protected $errorDataType = '';
24 protected $suggestArticlesResponseType = GoogleCloudDialogflowV2SuggestArticlesResponse::class;
25 protected $suggestArticlesResponseDataType = '';
26 protected $suggestFaqAnswersResponseType = GoogleCloudDialogflowV2SuggestFaqAnswersResponse::class;
27 protected $suggestFaqAnswersResponseDataType = '';
28 protected $suggestKnowledgeAssistResponseType = GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse::class;
29 protected $suggestKnowledgeAssistResponseDataType = '';
30 protected $suggestSmartRepliesResponseType = GoogleCloudDialogflowV2SuggestSmartRepliesResponse::class;
31 protected $suggestSmartRepliesResponseDataType = '';
32
33 /**
34 * @param GoogleRpcStatus
35 */
36 public function setError(GoogleRpcStatus $error)
37 {
38 $this->error = $error;
39 }
40 /**
41 * @return GoogleRpcStatus
42 */
43 public function getError()
44 {
45 return $this->error;
46 }
47 /**
48 * @param GoogleCloudDialogflowV2SuggestArticlesResponse
49 */
50 public function setSuggestArticlesResponse(GoogleCloudDialogflowV2SuggestArticlesResponse $suggestArticlesResponse)
51 {
52 $this->suggestArticlesResponse = $suggestArticlesResponse;
53 }
54 /**
55 * @return GoogleCloudDialogflowV2SuggestArticlesResponse
56 */
57 public function getSuggestArticlesResponse()
58 {
59 return $this->suggestArticlesResponse;
60 }
61 /**
62 * @param GoogleCloudDialogflowV2SuggestFaqAnswersResponse
63 */
64 public function setSuggestFaqAnswersResponse(GoogleCloudDialogflowV2SuggestFaqAnswersResponse $suggestFaqAnswersResponse)
65 {
66 $this->suggestFaqAnswersResponse = $suggestFaqAnswersResponse;
67 }
68 /**
69 * @return GoogleCloudDialogflowV2SuggestFaqAnswersResponse
70 */
71 public function getSuggestFaqAnswersResponse()
72 {
73 return $this->suggestFaqAnswersResponse;
74 }
75 /**
76 * @param GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
77 */
78 public function setSuggestKnowledgeAssistResponse(GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse $suggestKnowledgeAssistResponse)
79 {
80 $this->suggestKnowledgeAssistResponse = $suggestKnowledgeAssistResponse;
81 }
82 /**
83 * @return GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
84 */
85 public function getSuggestKnowledgeAssistResponse()
86 {
87 return $this->suggestKnowledgeAssistResponse;
88 }
89 /**
90 * @param GoogleCloudDialogflowV2SuggestSmartRepliesResponse
91 */
92 public function setSuggestSmartRepliesResponse(GoogleCloudDialogflowV2SuggestSmartRepliesResponse $suggestSmartRepliesResponse)
93 {
94 $this->suggestSmartRepliesResponse = $suggestSmartRepliesResponse;
95 }
96 /**
97 * @return GoogleCloudDialogflowV2SuggestSmartRepliesResponse
98 */
99 public function getSuggestSmartRepliesResponse()
100 {
101 return $this->suggestSmartRepliesResponse;
102 }
103}
104
105// Adding a class alias for backwards compatibility with the previous class name.
106class_alias(GoogleCloudDialogflowV2SuggestionResult::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2SuggestionResult');
Note: See TracBrowser for help on using the repository browser.