siip-whatsapp-notifications.../vendor/google/apiclient-services/src/Contactcenterinsights/GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment.php
2024-12-31 09:48:29 +00:00

182 lines
4.7 KiB
PHP
Executable File

<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Contactcenterinsights;
class GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment extends \Google\Collection
{
protected $collection_key = 'words';
/**
* @var int
*/
public $channelTag;
/**
* @var float
*/
public $confidence;
protected $dialogflowSegmentMetadataType = GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata::class;
protected $dialogflowSegmentMetadataDataType = '';
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $messageTime;
protected $segmentParticipantType = GoogleCloudContactcenterinsightsV1ConversationParticipant::class;
protected $segmentParticipantDataType = '';
protected $sentimentType = GoogleCloudContactcenterinsightsV1SentimentData::class;
protected $sentimentDataType = '';
/**
* @var string
*/
public $text;
protected $wordsType = GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo::class;
protected $wordsDataType = 'array';
/**
* @param int
*/
public function setChannelTag($channelTag)
{
$this->channelTag = $channelTag;
}
/**
* @return int
*/
public function getChannelTag()
{
return $this->channelTag;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata
*/
public function setDialogflowSegmentMetadata(GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata $dialogflowSegmentMetadata)
{
$this->dialogflowSegmentMetadata = $dialogflowSegmentMetadata;
}
/**
* @return GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata
*/
public function getDialogflowSegmentMetadata()
{
return $this->dialogflowSegmentMetadata;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setMessageTime($messageTime)
{
$this->messageTime = $messageTime;
}
/**
* @return string
*/
public function getMessageTime()
{
return $this->messageTime;
}
/**
* @param GoogleCloudContactcenterinsightsV1ConversationParticipant
*/
public function setSegmentParticipant(GoogleCloudContactcenterinsightsV1ConversationParticipant $segmentParticipant)
{
$this->segmentParticipant = $segmentParticipant;
}
/**
* @return GoogleCloudContactcenterinsightsV1ConversationParticipant
*/
public function getSegmentParticipant()
{
return $this->segmentParticipant;
}
/**
* @param GoogleCloudContactcenterinsightsV1SentimentData
*/
public function setSentiment(GoogleCloudContactcenterinsightsV1SentimentData $sentiment)
{
$this->sentiment = $sentiment;
}
/**
* @return GoogleCloudContactcenterinsightsV1SentimentData
*/
public function getSentiment()
{
return $this->sentiment;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
/**
* @param GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo[]
*/
public function setWords($words)
{
$this->words = $words;
}
/**
* @return GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo[]
*/
public function getWords()
{
return $this->words;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment');