GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata.php 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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. namespace Google\Service\Contactcenterinsights;
  18. class GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata extends \Google\Collection
  19. {
  20. protected $collection_key = 'sentiments';
  21. protected $annotationsType = GoogleCloudContactcenterinsightsV1alpha1CallAnnotation::class;
  22. protected $annotationsDataType = 'array';
  23. protected $entitiesType = GoogleCloudContactcenterinsightsV1alpha1Entity::class;
  24. protected $entitiesDataType = 'map';
  25. protected $intentsType = GoogleCloudContactcenterinsightsV1alpha1Intent::class;
  26. protected $intentsDataType = 'map';
  27. protected $issueModelResultType = GoogleCloudContactcenterinsightsV1alpha1IssueModelResult::class;
  28. protected $issueModelResultDataType = '';
  29. protected $phraseMatchersType = GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData::class;
  30. protected $phraseMatchersDataType = 'map';
  31. protected $qaScorecardResultsType = GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult::class;
  32. protected $qaScorecardResultsDataType = 'array';
  33. protected $sentimentsType = GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment::class;
  34. protected $sentimentsDataType = 'array';
  35. protected $silenceType = GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence::class;
  36. protected $silenceDataType = '';
  37. /**
  38. * A list of call annotations that apply to this call.
  39. *
  40. * @param GoogleCloudContactcenterinsightsV1alpha1CallAnnotation[] $annotations
  41. */
  42. public function setAnnotations($annotations)
  43. {
  44. $this->annotations = $annotations;
  45. }
  46. /**
  47. * @return GoogleCloudContactcenterinsightsV1alpha1CallAnnotation[]
  48. */
  49. public function getAnnotations()
  50. {
  51. return $this->annotations;
  52. }
  53. /**
  54. * All the entities in the call.
  55. *
  56. * @param GoogleCloudContactcenterinsightsV1alpha1Entity[] $entities
  57. */
  58. public function setEntities($entities)
  59. {
  60. $this->entities = $entities;
  61. }
  62. /**
  63. * @return GoogleCloudContactcenterinsightsV1alpha1Entity[]
  64. */
  65. public function getEntities()
  66. {
  67. return $this->entities;
  68. }
  69. /**
  70. * All the matched intents in the call.
  71. *
  72. * @param GoogleCloudContactcenterinsightsV1alpha1Intent[] $intents
  73. */
  74. public function setIntents($intents)
  75. {
  76. $this->intents = $intents;
  77. }
  78. /**
  79. * @return GoogleCloudContactcenterinsightsV1alpha1Intent[]
  80. */
  81. public function getIntents()
  82. {
  83. return $this->intents;
  84. }
  85. /**
  86. * Overall conversation-level issue modeling result.
  87. *
  88. * @param GoogleCloudContactcenterinsightsV1alpha1IssueModelResult $issueModelResult
  89. */
  90. public function setIssueModelResult(GoogleCloudContactcenterinsightsV1alpha1IssueModelResult $issueModelResult)
  91. {
  92. $this->issueModelResult = $issueModelResult;
  93. }
  94. /**
  95. * @return GoogleCloudContactcenterinsightsV1alpha1IssueModelResult
  96. */
  97. public function getIssueModelResult()
  98. {
  99. return $this->issueModelResult;
  100. }
  101. /**
  102. * All the matched phrase matchers in the call.
  103. *
  104. * @param GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData[] $phraseMatchers
  105. */
  106. public function setPhraseMatchers($phraseMatchers)
  107. {
  108. $this->phraseMatchers = $phraseMatchers;
  109. }
  110. /**
  111. * @return GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData[]
  112. */
  113. public function getPhraseMatchers()
  114. {
  115. return $this->phraseMatchers;
  116. }
  117. /**
  118. * Results of scoring QaScorecards.
  119. *
  120. * @param GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult[] $qaScorecardResults
  121. */
  122. public function setQaScorecardResults($qaScorecardResults)
  123. {
  124. $this->qaScorecardResults = $qaScorecardResults;
  125. }
  126. /**
  127. * @return GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult[]
  128. */
  129. public function getQaScorecardResults()
  130. {
  131. return $this->qaScorecardResults;
  132. }
  133. /**
  134. * Overall conversation-level sentiment for each channel of the call.
  135. *
  136. * @param GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment[] $sentiments
  137. */
  138. public function setSentiments($sentiments)
  139. {
  140. $this->sentiments = $sentiments;
  141. }
  142. /**
  143. * @return GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment[]
  144. */
  145. public function getSentiments()
  146. {
  147. return $this->sentiments;
  148. }
  149. /**
  150. * Overall conversation-level silence during the call.
  151. *
  152. * @param GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence $silence
  153. */
  154. public function setSilence(GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence $silence)
  155. {
  156. $this->silence = $silence;
  157. }
  158. /**
  159. * @return GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence
  160. */
  161. public function getSilence()
  162. {
  163. return $this->silence;
  164. }
  165. }
  166. // Adding a class alias for backwards compatibility with the previous class name.
  167. class_alias(GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata');