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\Contactcenterinsights;
|
---|
19 |
|
---|
20 | class GoogleCloudContactcenterinsightsV1AnnotatorSelector extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'phraseMatchers';
|
---|
23 | /**
|
---|
24 | * @var string[]
|
---|
25 | */
|
---|
26 | public $issueModels;
|
---|
27 | /**
|
---|
28 | * @var string[]
|
---|
29 | */
|
---|
30 | public $phraseMatchers;
|
---|
31 | protected $qaConfigType = GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig::class;
|
---|
32 | protected $qaConfigDataType = '';
|
---|
33 | /**
|
---|
34 | * @var bool
|
---|
35 | */
|
---|
36 | public $runEntityAnnotator;
|
---|
37 | /**
|
---|
38 | * @var bool
|
---|
39 | */
|
---|
40 | public $runIntentAnnotator;
|
---|
41 | /**
|
---|
42 | * @var bool
|
---|
43 | */
|
---|
44 | public $runInterruptionAnnotator;
|
---|
45 | /**
|
---|
46 | * @var bool
|
---|
47 | */
|
---|
48 | public $runIssueModelAnnotator;
|
---|
49 | /**
|
---|
50 | * @var bool
|
---|
51 | */
|
---|
52 | public $runPhraseMatcherAnnotator;
|
---|
53 | /**
|
---|
54 | * @var bool
|
---|
55 | */
|
---|
56 | public $runQaAnnotator;
|
---|
57 | /**
|
---|
58 | * @var bool
|
---|
59 | */
|
---|
60 | public $runSentimentAnnotator;
|
---|
61 | /**
|
---|
62 | * @var bool
|
---|
63 | */
|
---|
64 | public $runSilenceAnnotator;
|
---|
65 | /**
|
---|
66 | * @var bool
|
---|
67 | */
|
---|
68 | public $runSummarizationAnnotator;
|
---|
69 | protected $summarizationConfigType = GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig::class;
|
---|
70 | protected $summarizationConfigDataType = '';
|
---|
71 |
|
---|
72 | /**
|
---|
73 | * @param string[]
|
---|
74 | */
|
---|
75 | public function setIssueModels($issueModels)
|
---|
76 | {
|
---|
77 | $this->issueModels = $issueModels;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @return string[]
|
---|
81 | */
|
---|
82 | public function getIssueModels()
|
---|
83 | {
|
---|
84 | return $this->issueModels;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @param string[]
|
---|
88 | */
|
---|
89 | public function setPhraseMatchers($phraseMatchers)
|
---|
90 | {
|
---|
91 | $this->phraseMatchers = $phraseMatchers;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @return string[]
|
---|
95 | */
|
---|
96 | public function getPhraseMatchers()
|
---|
97 | {
|
---|
98 | return $this->phraseMatchers;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @param GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig
|
---|
102 | */
|
---|
103 | public function setQaConfig(GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig $qaConfig)
|
---|
104 | {
|
---|
105 | $this->qaConfig = $qaConfig;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @return GoogleCloudContactcenterinsightsV1AnnotatorSelectorQaConfig
|
---|
109 | */
|
---|
110 | public function getQaConfig()
|
---|
111 | {
|
---|
112 | return $this->qaConfig;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @param bool
|
---|
116 | */
|
---|
117 | public function setRunEntityAnnotator($runEntityAnnotator)
|
---|
118 | {
|
---|
119 | $this->runEntityAnnotator = $runEntityAnnotator;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @return bool
|
---|
123 | */
|
---|
124 | public function getRunEntityAnnotator()
|
---|
125 | {
|
---|
126 | return $this->runEntityAnnotator;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @param bool
|
---|
130 | */
|
---|
131 | public function setRunIntentAnnotator($runIntentAnnotator)
|
---|
132 | {
|
---|
133 | $this->runIntentAnnotator = $runIntentAnnotator;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @return bool
|
---|
137 | */
|
---|
138 | public function getRunIntentAnnotator()
|
---|
139 | {
|
---|
140 | return $this->runIntentAnnotator;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @param bool
|
---|
144 | */
|
---|
145 | public function setRunInterruptionAnnotator($runInterruptionAnnotator)
|
---|
146 | {
|
---|
147 | $this->runInterruptionAnnotator = $runInterruptionAnnotator;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @return bool
|
---|
151 | */
|
---|
152 | public function getRunInterruptionAnnotator()
|
---|
153 | {
|
---|
154 | return $this->runInterruptionAnnotator;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @param bool
|
---|
158 | */
|
---|
159 | public function setRunIssueModelAnnotator($runIssueModelAnnotator)
|
---|
160 | {
|
---|
161 | $this->runIssueModelAnnotator = $runIssueModelAnnotator;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @return bool
|
---|
165 | */
|
---|
166 | public function getRunIssueModelAnnotator()
|
---|
167 | {
|
---|
168 | return $this->runIssueModelAnnotator;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @param bool
|
---|
172 | */
|
---|
173 | public function setRunPhraseMatcherAnnotator($runPhraseMatcherAnnotator)
|
---|
174 | {
|
---|
175 | $this->runPhraseMatcherAnnotator = $runPhraseMatcherAnnotator;
|
---|
176 | }
|
---|
177 | /**
|
---|
178 | * @return bool
|
---|
179 | */
|
---|
180 | public function getRunPhraseMatcherAnnotator()
|
---|
181 | {
|
---|
182 | return $this->runPhraseMatcherAnnotator;
|
---|
183 | }
|
---|
184 | /**
|
---|
185 | * @param bool
|
---|
186 | */
|
---|
187 | public function setRunQaAnnotator($runQaAnnotator)
|
---|
188 | {
|
---|
189 | $this->runQaAnnotator = $runQaAnnotator;
|
---|
190 | }
|
---|
191 | /**
|
---|
192 | * @return bool
|
---|
193 | */
|
---|
194 | public function getRunQaAnnotator()
|
---|
195 | {
|
---|
196 | return $this->runQaAnnotator;
|
---|
197 | }
|
---|
198 | /**
|
---|
199 | * @param bool
|
---|
200 | */
|
---|
201 | public function setRunSentimentAnnotator($runSentimentAnnotator)
|
---|
202 | {
|
---|
203 | $this->runSentimentAnnotator = $runSentimentAnnotator;
|
---|
204 | }
|
---|
205 | /**
|
---|
206 | * @return bool
|
---|
207 | */
|
---|
208 | public function getRunSentimentAnnotator()
|
---|
209 | {
|
---|
210 | return $this->runSentimentAnnotator;
|
---|
211 | }
|
---|
212 | /**
|
---|
213 | * @param bool
|
---|
214 | */
|
---|
215 | public function setRunSilenceAnnotator($runSilenceAnnotator)
|
---|
216 | {
|
---|
217 | $this->runSilenceAnnotator = $runSilenceAnnotator;
|
---|
218 | }
|
---|
219 | /**
|
---|
220 | * @return bool
|
---|
221 | */
|
---|
222 | public function getRunSilenceAnnotator()
|
---|
223 | {
|
---|
224 | return $this->runSilenceAnnotator;
|
---|
225 | }
|
---|
226 | /**
|
---|
227 | * @param bool
|
---|
228 | */
|
---|
229 | public function setRunSummarizationAnnotator($runSummarizationAnnotator)
|
---|
230 | {
|
---|
231 | $this->runSummarizationAnnotator = $runSummarizationAnnotator;
|
---|
232 | }
|
---|
233 | /**
|
---|
234 | * @return bool
|
---|
235 | */
|
---|
236 | public function getRunSummarizationAnnotator()
|
---|
237 | {
|
---|
238 | return $this->runSummarizationAnnotator;
|
---|
239 | }
|
---|
240 | /**
|
---|
241 | * @param GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig
|
---|
242 | */
|
---|
243 | public function setSummarizationConfig(GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig $summarizationConfig)
|
---|
244 | {
|
---|
245 | $this->summarizationConfig = $summarizationConfig;
|
---|
246 | }
|
---|
247 | /**
|
---|
248 | * @return GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig
|
---|
249 | */
|
---|
250 | public function getSummarizationConfig()
|
---|
251 | {
|
---|
252 | return $this->summarizationConfig;
|
---|
253 | }
|
---|
254 | }
|
---|
255 |
|
---|
256 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
257 | class_alias(GoogleCloudContactcenterinsightsV1AnnotatorSelector::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1AnnotatorSelector');
|
---|