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 GoogleCloudDialogflowCxV3Agent extends \Google\Collection
21{
22  protected $collection_key = 'supportedLanguageCodes';
23  protected $advancedSettingsType = GoogleCloudDialogflowCxV3AdvancedSettings::class;
24  protected $advancedSettingsDataType = '';
25  /**
26   * @var string
27   */
28  public $avatarUri;
29  /**
30   * @var string
31   */
32  public $defaultLanguageCode;
33  /**
34   * @var string
35   */
36  public $description;
37  /**
38   * @var string
39   */
40  public $displayName;
41  /**
42   * @var bool
43   */
44  public $enableSpellCorrection;
45  /**
46   * @var bool
47   */
48  public $enableStackdriverLogging;
49  /**
50   * @var bool
51   */
52  public $locked;
53  /**
54   * @var string
55   */
56  public $name;
57  /**
58   * @var string
59   */
60  public $securitySettings;
61  protected $speechToTextSettingsType = GoogleCloudDialogflowCxV3SpeechToTextSettings::class;
62  protected $speechToTextSettingsDataType = '';
63  /**
64   * @var string
65   */
66  public $startFlow;
67  /**
68   * @var string[]
69   */
70  public $supportedLanguageCodes;
71  /**
72   * @var string
73   */
74  public $timeZone;
75
76  /**
77   * @param GoogleCloudDialogflowCxV3AdvancedSettings
78   */
79  public function setAdvancedSettings(GoogleCloudDialogflowCxV3AdvancedSettings $advancedSettings)
80  {
81    $this->advancedSettings = $advancedSettings;
82  }
83  /**
84   * @return GoogleCloudDialogflowCxV3AdvancedSettings
85   */
86  public function getAdvancedSettings()
87  {
88    return $this->advancedSettings;
89  }
90  /**
91   * @param string
92   */
93  public function setAvatarUri($avatarUri)
94  {
95    $this->avatarUri = $avatarUri;
96  }
97  /**
98   * @return string
99   */
100  public function getAvatarUri()
101  {
102    return $this->avatarUri;
103  }
104  /**
105   * @param string
106   */
107  public function setDefaultLanguageCode($defaultLanguageCode)
108  {
109    $this->defaultLanguageCode = $defaultLanguageCode;
110  }
111  /**
112   * @return string
113   */
114  public function getDefaultLanguageCode()
115  {
116    return $this->defaultLanguageCode;
117  }
118  /**
119   * @param string
120   */
121  public function setDescription($description)
122  {
123    $this->description = $description;
124  }
125  /**
126   * @return string
127   */
128  public function getDescription()
129  {
130    return $this->description;
131  }
132  /**
133   * @param string
134   */
135  public function setDisplayName($displayName)
136  {
137    $this->displayName = $displayName;
138  }
139  /**
140   * @return string
141   */
142  public function getDisplayName()
143  {
144    return $this->displayName;
145  }
146  /**
147   * @param bool
148   */
149  public function setEnableSpellCorrection($enableSpellCorrection)
150  {
151    $this->enableSpellCorrection = $enableSpellCorrection;
152  }
153  /**
154   * @return bool
155   */
156  public function getEnableSpellCorrection()
157  {
158    return $this->enableSpellCorrection;
159  }
160  /**
161   * @param bool
162   */
163  public function setEnableStackdriverLogging($enableStackdriverLogging)
164  {
165    $this->enableStackdriverLogging = $enableStackdriverLogging;
166  }
167  /**
168   * @return bool
169   */
170  public function getEnableStackdriverLogging()
171  {
172    return $this->enableStackdriverLogging;
173  }
174  /**
175   * @param bool
176   */
177  public function setLocked($locked)
178  {
179    $this->locked = $locked;
180  }
181  /**
182   * @return bool
183   */
184  public function getLocked()
185  {
186    return $this->locked;
187  }
188  /**
189   * @param string
190   */
191  public function setName($name)
192  {
193    $this->name = $name;
194  }
195  /**
196   * @return string
197   */
198  public function getName()
199  {
200    return $this->name;
201  }
202  /**
203   * @param string
204   */
205  public function setSecuritySettings($securitySettings)
206  {
207    $this->securitySettings = $securitySettings;
208  }
209  /**
210   * @return string
211   */
212  public function getSecuritySettings()
213  {
214    return $this->securitySettings;
215  }
216  /**
217   * @param GoogleCloudDialogflowCxV3SpeechToTextSettings
218   */
219  public function setSpeechToTextSettings(GoogleCloudDialogflowCxV3SpeechToTextSettings $speechToTextSettings)
220  {
221    $this->speechToTextSettings = $speechToTextSettings;
222  }
223  /**
224   * @return GoogleCloudDialogflowCxV3SpeechToTextSettings
225   */
226  public function getSpeechToTextSettings()
227  {
228    return $this->speechToTextSettings;
229  }
230  /**
231   * @param string
232   */
233  public function setStartFlow($startFlow)
234  {
235    $this->startFlow = $startFlow;
236  }
237  /**
238   * @return string
239   */
240  public function getStartFlow()
241  {
242    return $this->startFlow;
243  }
244  /**
245   * @param string[]
246   */
247  public function setSupportedLanguageCodes($supportedLanguageCodes)
248  {
249    $this->supportedLanguageCodes = $supportedLanguageCodes;
250  }
251  /**
252   * @return string[]
253   */
254  public function getSupportedLanguageCodes()
255  {
256    return $this->supportedLanguageCodes;
257  }
258  /**
259   * @param string
260   */
261  public function setTimeZone($timeZone)
262  {
263    $this->timeZone = $timeZone;
264  }
265  /**
266   * @return string
267   */
268  public function getTimeZone()
269  {
270    return $this->timeZone;
271  }
272}
273
274// Adding a class alias for backwards compatibility with the previous class name.
275class_alias(GoogleCloudDialogflowCxV3Agent::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3Agent');
276