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 GoogleCloudContactcenterinsightsV1CalculateStatsResponse extends \Google\Model
21 {
22   /**
23    * @var string
24    */
25   public $averageDuration;
26   /**
27    * @var int
28    */
29   public $averageTurnCount;
30   /**
31    * @var int
32    */
33   public $conversationCount;
34   protected $conversationCountTimeSeriesType = GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries::class;
35   protected $conversationCountTimeSeriesDataType = '';
36   /**
37    * @var int[]
38    */
39   public $customHighlighterMatches;
40   /**
41    * @var int[]
42    */
43   public $issueMatches;
44   protected $issueMatchesStatsType = GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats::class;
45   protected $issueMatchesStatsDataType = 'map';
46   /**
47    * @var int[]
48    */
49   public $smartHighlighterMatches;
50 
51   /**
52    * @param string
53    */
54   public function setAverageDuration($averageDuration)
55   {
56     $this->averageDuration = $averageDuration;
57   }
58   /**
59    * @return string
60    */
61   public function getAverageDuration()
62   {
63     return $this->averageDuration;
64   }
65   /**
66    * @param int
67    */
68   public function setAverageTurnCount($averageTurnCount)
69   {
70     $this->averageTurnCount = $averageTurnCount;
71   }
72   /**
73    * @return int
74    */
75   public function getAverageTurnCount()
76   {
77     return $this->averageTurnCount;
78   }
79   /**
80    * @param int
81    */
82   public function setConversationCount($conversationCount)
83   {
84     $this->conversationCount = $conversationCount;
85   }
86   /**
87    * @return int
88    */
89   public function getConversationCount()
90   {
91     return $this->conversationCount;
92   }
93   /**
94    * @param GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries
95    */
96   public function setConversationCountTimeSeries(GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries $conversationCountTimeSeries)
97   {
98     $this->conversationCountTimeSeries = $conversationCountTimeSeries;
99   }
100   /**
101    * @return GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries
102    */
103   public function getConversationCountTimeSeries()
104   {
105     return $this->conversationCountTimeSeries;
106   }
107   /**
108    * @param int[]
109    */
110   public function setCustomHighlighterMatches($customHighlighterMatches)
111   {
112     $this->customHighlighterMatches = $customHighlighterMatches;
113   }
114   /**
115    * @return int[]
116    */
117   public function getCustomHighlighterMatches()
118   {
119     return $this->customHighlighterMatches;
120   }
121   /**
122    * @param int[]
123    */
124   public function setIssueMatches($issueMatches)
125   {
126     $this->issueMatches = $issueMatches;
127   }
128   /**
129    * @return int[]
130    */
131   public function getIssueMatches()
132   {
133     return $this->issueMatches;
134   }
135   /**
136    * @param GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats[]
137    */
138   public function setIssueMatchesStats($issueMatchesStats)
139   {
140     $this->issueMatchesStats = $issueMatchesStats;
141   }
142   /**
143    * @return GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats[]
144    */
145   public function getIssueMatchesStats()
146   {
147     return $this->issueMatchesStats;
148   }
149   /**
150    * @param int[]
151    */
152   public function setSmartHighlighterMatches($smartHighlighterMatches)
153   {
154     $this->smartHighlighterMatches = $smartHighlighterMatches;
155   }
156   /**
157    * @return int[]
158    */
159   public function getSmartHighlighterMatches()
160   {
161     return $this->smartHighlighterMatches;
162   }
163 }
164 
165 // Adding a class alias for backwards compatibility with the previous class name.
166 class_alias(GoogleCloudContactcenterinsightsV1CalculateStatsResponse::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1CalculateStatsResponse');
167