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 GoogleCloudContactcenterinsightsV1QaQuestion extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'tags';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $abbreviation;
|
---|
27 | protected $answerChoicesType = GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice::class;
|
---|
28 | protected $answerChoicesDataType = 'array';
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $answerInstructions;
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $createTime;
|
---|
37 | protected $metricsType = GoogleCloudContactcenterinsightsV1QaQuestionMetrics::class;
|
---|
38 | protected $metricsDataType = '';
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $name;
|
---|
43 | /**
|
---|
44 | * @var int
|
---|
45 | */
|
---|
46 | public $order;
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $questionBody;
|
---|
51 | /**
|
---|
52 | * @var string[]
|
---|
53 | */
|
---|
54 | public $tags;
|
---|
55 | protected $tuningMetadataType = GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata::class;
|
---|
56 | protected $tuningMetadataDataType = '';
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $updateTime;
|
---|
61 |
|
---|
62 | /**
|
---|
63 | * @param string
|
---|
64 | */
|
---|
65 | public function setAbbreviation($abbreviation)
|
---|
66 | {
|
---|
67 | $this->abbreviation = $abbreviation;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @return string
|
---|
71 | */
|
---|
72 | public function getAbbreviation()
|
---|
73 | {
|
---|
74 | return $this->abbreviation;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @param GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice[]
|
---|
78 | */
|
---|
79 | public function setAnswerChoices($answerChoices)
|
---|
80 | {
|
---|
81 | $this->answerChoices = $answerChoices;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @return GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice[]
|
---|
85 | */
|
---|
86 | public function getAnswerChoices()
|
---|
87 | {
|
---|
88 | return $this->answerChoices;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @param string
|
---|
92 | */
|
---|
93 | public function setAnswerInstructions($answerInstructions)
|
---|
94 | {
|
---|
95 | $this->answerInstructions = $answerInstructions;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return string
|
---|
99 | */
|
---|
100 | public function getAnswerInstructions()
|
---|
101 | {
|
---|
102 | return $this->answerInstructions;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param string
|
---|
106 | */
|
---|
107 | public function setCreateTime($createTime)
|
---|
108 | {
|
---|
109 | $this->createTime = $createTime;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return string
|
---|
113 | */
|
---|
114 | public function getCreateTime()
|
---|
115 | {
|
---|
116 | return $this->createTime;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param GoogleCloudContactcenterinsightsV1QaQuestionMetrics
|
---|
120 | */
|
---|
121 | public function setMetrics(GoogleCloudContactcenterinsightsV1QaQuestionMetrics $metrics)
|
---|
122 | {
|
---|
123 | $this->metrics = $metrics;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return GoogleCloudContactcenterinsightsV1QaQuestionMetrics
|
---|
127 | */
|
---|
128 | public function getMetrics()
|
---|
129 | {
|
---|
130 | return $this->metrics;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param string
|
---|
134 | */
|
---|
135 | public function setName($name)
|
---|
136 | {
|
---|
137 | $this->name = $name;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return string
|
---|
141 | */
|
---|
142 | public function getName()
|
---|
143 | {
|
---|
144 | return $this->name;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param int
|
---|
148 | */
|
---|
149 | public function setOrder($order)
|
---|
150 | {
|
---|
151 | $this->order = $order;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return int
|
---|
155 | */
|
---|
156 | public function getOrder()
|
---|
157 | {
|
---|
158 | return $this->order;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param string
|
---|
162 | */
|
---|
163 | public function setQuestionBody($questionBody)
|
---|
164 | {
|
---|
165 | $this->questionBody = $questionBody;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return string
|
---|
169 | */
|
---|
170 | public function getQuestionBody()
|
---|
171 | {
|
---|
172 | return $this->questionBody;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param string[]
|
---|
176 | */
|
---|
177 | public function setTags($tags)
|
---|
178 | {
|
---|
179 | $this->tags = $tags;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return string[]
|
---|
183 | */
|
---|
184 | public function getTags()
|
---|
185 | {
|
---|
186 | return $this->tags;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @param GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata
|
---|
190 | */
|
---|
191 | public function setTuningMetadata(GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata $tuningMetadata)
|
---|
192 | {
|
---|
193 | $this->tuningMetadata = $tuningMetadata;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @return GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata
|
---|
197 | */
|
---|
198 | public function getTuningMetadata()
|
---|
199 | {
|
---|
200 | return $this->tuningMetadata;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @param string
|
---|
204 | */
|
---|
205 | public function setUpdateTime($updateTime)
|
---|
206 | {
|
---|
207 | $this->updateTime = $updateTime;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return string
|
---|
211 | */
|
---|
212 | public function getUpdateTime()
|
---|
213 | {
|
---|
214 | return $this->updateTime;
|
---|
215 | }
|
---|
216 | }
|
---|
217 |
|
---|
218 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
219 | class_alias(GoogleCloudContactcenterinsightsV1QaQuestion::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion');
|
---|