GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult.php 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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 GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult extends \Google\Collection
  19. {
  20. protected $collection_key = 'ruleConstraintResults';
  21. /**
  22. * The first conversation resource name.
  23. *
  24. * @var string
  25. */
  26. public $conversationA;
  27. /**
  28. * The second conversation resource name.
  29. *
  30. * @var string
  31. */
  32. public $conversationB;
  33. protected $ruleConstraintResultsType = GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult::class;
  34. protected $ruleConstraintResultsDataType = 'array';
  35. /**
  36. * The first conversation resource name.
  37. *
  38. * @param string $conversationA
  39. */
  40. public function setConversationA($conversationA)
  41. {
  42. $this->conversationA = $conversationA;
  43. }
  44. /**
  45. * @return string
  46. */
  47. public function getConversationA()
  48. {
  49. return $this->conversationA;
  50. }
  51. /**
  52. * The second conversation resource name.
  53. *
  54. * @param string $conversationB
  55. */
  56. public function setConversationB($conversationB)
  57. {
  58. $this->conversationB = $conversationB;
  59. }
  60. /**
  61. * @return string
  62. */
  63. public function getConversationB()
  64. {
  65. return $this->conversationB;
  66. }
  67. /**
  68. * The results for each applicable constraint rule.
  69. *
  70. * @param GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult[] $ruleConstraintResults
  71. */
  72. public function setRuleConstraintResults($ruleConstraintResults)
  73. {
  74. $this->ruleConstraintResults = $ruleConstraintResults;
  75. }
  76. /**
  77. * @return GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult[]
  78. */
  79. public function getRuleConstraintResults()
  80. {
  81. return $this->ruleConstraintResults;
  82. }
  83. }
  84. // Adding a class alias for backwards compatibility with the previous class name.
  85. class_alias(GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult');