GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata.php 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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 GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata extends \Google\Collection
  19. {
  20. protected $collection_key = 'feedbackLabels';
  21. protected $agentInfoType = GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo::class;
  22. protected $agentInfoDataType = 'array';
  23. /**
  24. * An arbitrary integer value indicating the customer's satisfaction rating.
  25. *
  26. * @var int
  27. */
  28. public $customerSatisfactionRating;
  29. protected $feedbackLabelsType = GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel::class;
  30. protected $feedbackLabelsDataType = 'array';
  31. /**
  32. * An arbitrary string value specifying the menu path the customer took.
  33. *
  34. * @var string
  35. */
  36. public $menuPath;
  37. /**
  38. * The amount of time the customer waited to connect with an agent.
  39. *
  40. * @var string
  41. */
  42. public $waitDuration;
  43. /**
  44. * Information about agents involved in the call.
  45. *
  46. * @param GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo[] $agentInfo
  47. */
  48. public function setAgentInfo($agentInfo)
  49. {
  50. $this->agentInfo = $agentInfo;
  51. }
  52. /**
  53. * @return GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo[]
  54. */
  55. public function getAgentInfo()
  56. {
  57. return $this->agentInfo;
  58. }
  59. /**
  60. * An arbitrary integer value indicating the customer's satisfaction rating.
  61. *
  62. * @param int $customerSatisfactionRating
  63. */
  64. public function setCustomerSatisfactionRating($customerSatisfactionRating)
  65. {
  66. $this->customerSatisfactionRating = $customerSatisfactionRating;
  67. }
  68. /**
  69. * @return int
  70. */
  71. public function getCustomerSatisfactionRating()
  72. {
  73. return $this->customerSatisfactionRating;
  74. }
  75. /**
  76. * Input only. The feedback labels associated with the conversation.
  77. *
  78. * @param GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel[] $feedbackLabels
  79. */
  80. public function setFeedbackLabels($feedbackLabels)
  81. {
  82. $this->feedbackLabels = $feedbackLabels;
  83. }
  84. /**
  85. * @return GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel[]
  86. */
  87. public function getFeedbackLabels()
  88. {
  89. return $this->feedbackLabels;
  90. }
  91. /**
  92. * An arbitrary string value specifying the menu path the customer took.
  93. *
  94. * @param string $menuPath
  95. */
  96. public function setMenuPath($menuPath)
  97. {
  98. $this->menuPath = $menuPath;
  99. }
  100. /**
  101. * @return string
  102. */
  103. public function getMenuPath()
  104. {
  105. return $this->menuPath;
  106. }
  107. /**
  108. * The amount of time the customer waited to connect with an agent.
  109. *
  110. * @param string $waitDuration
  111. */
  112. public function setWaitDuration($waitDuration)
  113. {
  114. $this->waitDuration = $waitDuration;
  115. }
  116. /**
  117. * @return string
  118. */
  119. public function getWaitDuration()
  120. {
  121. return $this->waitDuration;
  122. }
  123. }
  124. // Adding a class alias for backwards compatibility with the previous class name.
  125. class_alias(GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata');