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\Contactcenterinsights; 19 20class GoogleCloudContactcenterinsightsV1Conversation extends \Google\Collection 21{ 22 protected $collection_key = 'runtimeAnnotations'; 23 /** 24 * @var string 25 */ 26 public $agentId; 27 protected $callMetadataType = GoogleCloudContactcenterinsightsV1ConversationCallMetadata::class; 28 protected $callMetadataDataType = ''; 29 /** 30 * @var string 31 */ 32 public $createTime; 33 protected $dataSourceType = GoogleCloudContactcenterinsightsV1ConversationDataSource::class; 34 protected $dataSourceDataType = ''; 35 protected $dialogflowIntentsType = GoogleCloudContactcenterinsightsV1DialogflowIntent::class; 36 protected $dialogflowIntentsDataType = 'map'; 37 /** 38 * @var string 39 */ 40 public $duration; 41 /** 42 * @var string 43 */ 44 public $expireTime; 45 /** 46 * @var string[] 47 */ 48 public $labels; 49 /** 50 * @var string 51 */ 52 public $languageCode; 53 protected $latestAnalysisType = GoogleCloudContactcenterinsightsV1Analysis::class; 54 protected $latestAnalysisDataType = ''; 55 /** 56 * @var string 57 */ 58 public $medium; 59 /** 60 * @var string 61 */ 62 public $name; 63 /** 64 * @var string 65 */ 66 public $obfuscatedUserId; 67 protected $runtimeAnnotationsType = GoogleCloudContactcenterinsightsV1RuntimeAnnotation::class; 68 protected $runtimeAnnotationsDataType = 'array'; 69 /** 70 * @var string 71 */ 72 public $startTime; 73 protected $transcriptType = GoogleCloudContactcenterinsightsV1ConversationTranscript::class; 74 protected $transcriptDataType = ''; 75 /** 76 * @var string 77 */ 78 public $ttl; 79 /** 80 * @var int 81 */ 82 public $turnCount; 83 /** 84 * @var string 85 */ 86 public $updateTime; 87 88 /** 89 * @param string 90 */ 91 public function setAgentId($agentId) 92 { 93 $this->agentId = $agentId; 94 } 95 /** 96 * @return string 97 */ 98 public function getAgentId() 99 { 100 return $this->agentId; 101 } 102 /** 103 * @param GoogleCloudContactcenterinsightsV1ConversationCallMetadata 104 */ 105 public function setCallMetadata(GoogleCloudContactcenterinsightsV1ConversationCallMetadata $callMetadata) 106 { 107 $this->callMetadata = $callMetadata; 108 } 109 /** 110 * @return GoogleCloudContactcenterinsightsV1ConversationCallMetadata 111 */ 112 public function getCallMetadata() 113 { 114 return $this->callMetadata; 115 } 116 /** 117 * @param string 118 */ 119 public function setCreateTime($createTime) 120 { 121 $this->createTime = $createTime; 122 } 123 /** 124 * @return string 125 */ 126 public function getCreateTime() 127 { 128 return $this->createTime; 129 } 130 /** 131 * @param GoogleCloudContactcenterinsightsV1ConversationDataSource 132 */ 133 public function setDataSource(GoogleCloudContactcenterinsightsV1ConversationDataSource $dataSource) 134 { 135 $this->dataSource = $dataSource; 136 } 137 /** 138 * @return GoogleCloudContactcenterinsightsV1ConversationDataSource 139 */ 140 public function getDataSource() 141 { 142 return $this->dataSource; 143 } 144 /** 145 * @param GoogleCloudContactcenterinsightsV1DialogflowIntent[] 146 */ 147 public function setDialogflowIntents($dialogflowIntents) 148 { 149 $this->dialogflowIntents = $dialogflowIntents; 150 } 151 /** 152 * @return GoogleCloudContactcenterinsightsV1DialogflowIntent[] 153 */ 154 public function getDialogflowIntents() 155 { 156 return $this->dialogflowIntents; 157 } 158 /** 159 * @param string 160 */ 161 public function setDuration($duration) 162 { 163 $this->duration = $duration; 164 } 165 /** 166 * @return string 167 */ 168 public function getDuration() 169 { 170 return $this->duration; 171 } 172 /** 173 * @param string 174 */ 175 public function setExpireTime($expireTime) 176 { 177 $this->expireTime = $expireTime; 178 } 179 /** 180 * @return string 181 */ 182 public function getExpireTime() 183 { 184 return $this->expireTime; 185 } 186 /** 187 * @param string[] 188 */ 189 public function setLabels($labels) 190 { 191 $this->labels = $labels; 192 } 193 /** 194 * @return string[] 195 */ 196 public function getLabels() 197 { 198 return $this->labels; 199 } 200 /** 201 * @param string 202 */ 203 public function setLanguageCode($languageCode) 204 { 205 $this->languageCode = $languageCode; 206 } 207 /** 208 * @return string 209 */ 210 public function getLanguageCode() 211 { 212 return $this->languageCode; 213 } 214 /** 215 * @param GoogleCloudContactcenterinsightsV1Analysis 216 */ 217 public function setLatestAnalysis(GoogleCloudContactcenterinsightsV1Analysis $latestAnalysis) 218 { 219 $this->latestAnalysis = $latestAnalysis; 220 } 221 /** 222 * @return GoogleCloudContactcenterinsightsV1Analysis 223 */ 224 public function getLatestAnalysis() 225 { 226 return $this->latestAnalysis; 227 } 228 /** 229 * @param string 230 */ 231 public function setMedium($medium) 232 { 233 $this->medium = $medium; 234 } 235 /** 236 * @return string 237 */ 238 public function getMedium() 239 { 240 return $this->medium; 241 } 242 /** 243 * @param string 244 */ 245 public function setName($name) 246 { 247 $this->name = $name; 248 } 249 /** 250 * @return string 251 */ 252 public function getName() 253 { 254 return $this->name; 255 } 256 /** 257 * @param string 258 */ 259 public function setObfuscatedUserId($obfuscatedUserId) 260 { 261 $this->obfuscatedUserId = $obfuscatedUserId; 262 } 263 /** 264 * @return string 265 */ 266 public function getObfuscatedUserId() 267 { 268 return $this->obfuscatedUserId; 269 } 270 /** 271 * @param GoogleCloudContactcenterinsightsV1RuntimeAnnotation[] 272 */ 273 public function setRuntimeAnnotations($runtimeAnnotations) 274 { 275 $this->runtimeAnnotations = $runtimeAnnotations; 276 } 277 /** 278 * @return GoogleCloudContactcenterinsightsV1RuntimeAnnotation[] 279 */ 280 public function getRuntimeAnnotations() 281 { 282 return $this->runtimeAnnotations; 283 } 284 /** 285 * @param string 286 */ 287 public function setStartTime($startTime) 288 { 289 $this->startTime = $startTime; 290 } 291 /** 292 * @return string 293 */ 294 public function getStartTime() 295 { 296 return $this->startTime; 297 } 298 /** 299 * @param GoogleCloudContactcenterinsightsV1ConversationTranscript 300 */ 301 public function setTranscript(GoogleCloudContactcenterinsightsV1ConversationTranscript $transcript) 302 { 303 $this->transcript = $transcript; 304 } 305 /** 306 * @return GoogleCloudContactcenterinsightsV1ConversationTranscript 307 */ 308 public function getTranscript() 309 { 310 return $this->transcript; 311 } 312 /** 313 * @param string 314 */ 315 public function setTtl($ttl) 316 { 317 $this->ttl = $ttl; 318 } 319 /** 320 * @return string 321 */ 322 public function getTtl() 323 { 324 return $this->ttl; 325 } 326 /** 327 * @param int 328 */ 329 public function setTurnCount($turnCount) 330 { 331 $this->turnCount = $turnCount; 332 } 333 /** 334 * @return int 335 */ 336 public function getTurnCount() 337 { 338 return $this->turnCount; 339 } 340 /** 341 * @param string 342 */ 343 public function setUpdateTime($updateTime) 344 { 345 $this->updateTime = $updateTime; 346 } 347 /** 348 * @return string 349 */ 350 public function getUpdateTime() 351 { 352 return $this->updateTime; 353 } 354} 355 356// Adding a class alias for backwards compatibility with the previous class name. 357class_alias(GoogleCloudContactcenterinsightsV1Conversation::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1Conversation'); 358