GoogleCloudContactcenterinsightsV1mainConversationCallMetadata.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 GoogleCloudContactcenterinsightsV1mainConversationCallMetadata extends \Google\Model
  19. {
  20. /**
  21. * The audio channel that contains the agent.
  22. *
  23. * @var int
  24. */
  25. public $agentChannel;
  26. /**
  27. * The audio channel that contains the customer.
  28. *
  29. * @var int
  30. */
  31. public $customerChannel;
  32. /**
  33. * The audio channel that contains the agent.
  34. *
  35. * @param int $agentChannel
  36. */
  37. public function setAgentChannel($agentChannel)
  38. {
  39. $this->agentChannel = $agentChannel;
  40. }
  41. /**
  42. * @return int
  43. */
  44. public function getAgentChannel()
  45. {
  46. return $this->agentChannel;
  47. }
  48. /**
  49. * The audio channel that contains the customer.
  50. *
  51. * @param int $customerChannel
  52. */
  53. public function setCustomerChannel($customerChannel)
  54. {
  55. $this->customerChannel = $customerChannel;
  56. }
  57. /**
  58. * @return int
  59. */
  60. public function getCustomerChannel()
  61. {
  62. return $this->customerChannel;
  63. }
  64. }
  65. // Adding a class alias for backwards compatibility with the previous class name.
  66. class_alias(GoogleCloudContactcenterinsightsV1mainConversationCallMetadata::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1mainConversationCallMetadata');