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 GoogleCloudDialogflowCxV3beta1TurnSignals extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'webhookStatuses';
|
---|
23 | /**
|
---|
24 | * @var bool
|
---|
25 | */
|
---|
26 | public $agentEscalated;
|
---|
27 | /**
|
---|
28 | * @var bool
|
---|
29 | */
|
---|
30 | public $dtmfUsed;
|
---|
31 | /**
|
---|
32 | * @var string[]
|
---|
33 | */
|
---|
34 | public $failureReasons;
|
---|
35 | /**
|
---|
36 | * @var bool
|
---|
37 | */
|
---|
38 | public $noMatch;
|
---|
39 | /**
|
---|
40 | * @var bool
|
---|
41 | */
|
---|
42 | public $noUserInput;
|
---|
43 | /**
|
---|
44 | * @var bool
|
---|
45 | */
|
---|
46 | public $reachedEndPage;
|
---|
47 | /**
|
---|
48 | * @var float
|
---|
49 | */
|
---|
50 | public $sentimentMagnitude;
|
---|
51 | /**
|
---|
52 | * @var float
|
---|
53 | */
|
---|
54 | public $sentimentScore;
|
---|
55 | /**
|
---|
56 | * @var bool
|
---|
57 | */
|
---|
58 | public $userEscalated;
|
---|
59 | /**
|
---|
60 | * @var string[]
|
---|
61 | */
|
---|
62 | public $webhookStatuses;
|
---|
63 |
|
---|
64 | /**
|
---|
65 | * @param bool
|
---|
66 | */
|
---|
67 | public function setAgentEscalated($agentEscalated)
|
---|
68 | {
|
---|
69 | $this->agentEscalated = $agentEscalated;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @return bool
|
---|
73 | */
|
---|
74 | public function getAgentEscalated()
|
---|
75 | {
|
---|
76 | return $this->agentEscalated;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @param bool
|
---|
80 | */
|
---|
81 | public function setDtmfUsed($dtmfUsed)
|
---|
82 | {
|
---|
83 | $this->dtmfUsed = $dtmfUsed;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @return bool
|
---|
87 | */
|
---|
88 | public function getDtmfUsed()
|
---|
89 | {
|
---|
90 | return $this->dtmfUsed;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @param string[]
|
---|
94 | */
|
---|
95 | public function setFailureReasons($failureReasons)
|
---|
96 | {
|
---|
97 | $this->failureReasons = $failureReasons;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @return string[]
|
---|
101 | */
|
---|
102 | public function getFailureReasons()
|
---|
103 | {
|
---|
104 | return $this->failureReasons;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @param bool
|
---|
108 | */
|
---|
109 | public function setNoMatch($noMatch)
|
---|
110 | {
|
---|
111 | $this->noMatch = $noMatch;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @return bool
|
---|
115 | */
|
---|
116 | public function getNoMatch()
|
---|
117 | {
|
---|
118 | return $this->noMatch;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @param bool
|
---|
122 | */
|
---|
123 | public function setNoUserInput($noUserInput)
|
---|
124 | {
|
---|
125 | $this->noUserInput = $noUserInput;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @return bool
|
---|
129 | */
|
---|
130 | public function getNoUserInput()
|
---|
131 | {
|
---|
132 | return $this->noUserInput;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @param bool
|
---|
136 | */
|
---|
137 | public function setReachedEndPage($reachedEndPage)
|
---|
138 | {
|
---|
139 | $this->reachedEndPage = $reachedEndPage;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @return bool
|
---|
143 | */
|
---|
144 | public function getReachedEndPage()
|
---|
145 | {
|
---|
146 | return $this->reachedEndPage;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @param float
|
---|
150 | */
|
---|
151 | public function setSentimentMagnitude($sentimentMagnitude)
|
---|
152 | {
|
---|
153 | $this->sentimentMagnitude = $sentimentMagnitude;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @return float
|
---|
157 | */
|
---|
158 | public function getSentimentMagnitude()
|
---|
159 | {
|
---|
160 | return $this->sentimentMagnitude;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @param float
|
---|
164 | */
|
---|
165 | public function setSentimentScore($sentimentScore)
|
---|
166 | {
|
---|
167 | $this->sentimentScore = $sentimentScore;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @return float
|
---|
171 | */
|
---|
172 | public function getSentimentScore()
|
---|
173 | {
|
---|
174 | return $this->sentimentScore;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @param bool
|
---|
178 | */
|
---|
179 | public function setUserEscalated($userEscalated)
|
---|
180 | {
|
---|
181 | $this->userEscalated = $userEscalated;
|
---|
182 | }
|
---|
183 | /**
|
---|
184 | * @return bool
|
---|
185 | */
|
---|
186 | public function getUserEscalated()
|
---|
187 | {
|
---|
188 | return $this->userEscalated;
|
---|
189 | }
|
---|
190 | /**
|
---|
191 | * @param string[]
|
---|
192 | */
|
---|
193 | public function setWebhookStatuses($webhookStatuses)
|
---|
194 | {
|
---|
195 | $this->webhookStatuses = $webhookStatuses;
|
---|
196 | }
|
---|
197 | /**
|
---|
198 | * @return string[]
|
---|
199 | */
|
---|
200 | public function getWebhookStatuses()
|
---|
201 | {
|
---|
202 | return $this->webhookStatuses;
|
---|
203 | }
|
---|
204 | }
|
---|
205 |
|
---|
206 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
207 | class_alias(GoogleCloudDialogflowCxV3beta1TurnSignals::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3beta1TurnSignals');
|
---|