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 |
|
---|
18 | namespace Google\Service\Dialogflow;
|
---|
19 |
|
---|
20 | class GoogleCloudDialogflowV2beta1SuggestionResult extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $errorType = GoogleRpcStatus::class;
|
---|
23 | protected $errorDataType = '';
|
---|
24 | protected $suggestArticlesResponseType = GoogleCloudDialogflowV2beta1SuggestArticlesResponse::class;
|
---|
25 | protected $suggestArticlesResponseDataType = '';
|
---|
26 | protected $suggestDialogflowAssistsResponseType = GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse::class;
|
---|
27 | protected $suggestDialogflowAssistsResponseDataType = '';
|
---|
28 | protected $suggestEntityExtractionResponseType = GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse::class;
|
---|
29 | protected $suggestEntityExtractionResponseDataType = '';
|
---|
30 | protected $suggestFaqAnswersResponseType = GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::class;
|
---|
31 | protected $suggestFaqAnswersResponseDataType = '';
|
---|
32 | protected $suggestKnowledgeAssistResponseType = GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse::class;
|
---|
33 | protected $suggestKnowledgeAssistResponseDataType = '';
|
---|
34 | protected $suggestSmartRepliesResponseType = GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::class;
|
---|
35 | protected $suggestSmartRepliesResponseDataType = '';
|
---|
36 |
|
---|
37 | /**
|
---|
38 | * @param GoogleRpcStatus
|
---|
39 | */
|
---|
40 | public function setError(GoogleRpcStatus $error)
|
---|
41 | {
|
---|
42 | $this->error = $error;
|
---|
43 | }
|
---|
44 | /**
|
---|
45 | * @return GoogleRpcStatus
|
---|
46 | */
|
---|
47 | public function getError()
|
---|
48 | {
|
---|
49 | return $this->error;
|
---|
50 | }
|
---|
51 | /**
|
---|
52 | * @param GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
---|
53 | */
|
---|
54 | public function setSuggestArticlesResponse(GoogleCloudDialogflowV2beta1SuggestArticlesResponse $suggestArticlesResponse)
|
---|
55 | {
|
---|
56 | $this->suggestArticlesResponse = $suggestArticlesResponse;
|
---|
57 | }
|
---|
58 | /**
|
---|
59 | * @return GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
---|
60 | */
|
---|
61 | public function getSuggestArticlesResponse()
|
---|
62 | {
|
---|
63 | return $this->suggestArticlesResponse;
|
---|
64 | }
|
---|
65 | /**
|
---|
66 | * @param GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
|
---|
67 | */
|
---|
68 | public function setSuggestDialogflowAssistsResponse(GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse $suggestDialogflowAssistsResponse)
|
---|
69 | {
|
---|
70 | $this->suggestDialogflowAssistsResponse = $suggestDialogflowAssistsResponse;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @return GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
|
---|
74 | */
|
---|
75 | public function getSuggestDialogflowAssistsResponse()
|
---|
76 | {
|
---|
77 | return $this->suggestDialogflowAssistsResponse;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @param GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
|
---|
81 | */
|
---|
82 | public function setSuggestEntityExtractionResponse(GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse $suggestEntityExtractionResponse)
|
---|
83 | {
|
---|
84 | $this->suggestEntityExtractionResponse = $suggestEntityExtractionResponse;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @return GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
|
---|
88 | */
|
---|
89 | public function getSuggestEntityExtractionResponse()
|
---|
90 | {
|
---|
91 | return $this->suggestEntityExtractionResponse;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @param GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
|
---|
95 | */
|
---|
96 | public function setSuggestFaqAnswersResponse(GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse $suggestFaqAnswersResponse)
|
---|
97 | {
|
---|
98 | $this->suggestFaqAnswersResponse = $suggestFaqAnswersResponse;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @return GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
|
---|
102 | */
|
---|
103 | public function getSuggestFaqAnswersResponse()
|
---|
104 | {
|
---|
105 | return $this->suggestFaqAnswersResponse;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @param GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
---|
109 | */
|
---|
110 | public function setSuggestKnowledgeAssistResponse(GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse $suggestKnowledgeAssistResponse)
|
---|
111 | {
|
---|
112 | $this->suggestKnowledgeAssistResponse = $suggestKnowledgeAssistResponse;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @return GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
---|
116 | */
|
---|
117 | public function getSuggestKnowledgeAssistResponse()
|
---|
118 | {
|
---|
119 | return $this->suggestKnowledgeAssistResponse;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @param GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
|
---|
123 | */
|
---|
124 | public function setSuggestSmartRepliesResponse(GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse $suggestSmartRepliesResponse)
|
---|
125 | {
|
---|
126 | $this->suggestSmartRepliesResponse = $suggestSmartRepliesResponse;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @return GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
|
---|
130 | */
|
---|
131 | public function getSuggestSmartRepliesResponse()
|
---|
132 | {
|
---|
133 | return $this->suggestSmartRepliesResponse;
|
---|
134 | }
|
---|
135 | }
|
---|
136 |
|
---|
137 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
138 | class_alias(GoogleCloudDialogflowV2beta1SuggestionResult::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1SuggestionResult');
|
---|