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
18namespace Google\Service\Contactcenterinsights;
19
20class GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata extends \Google\Collection
21{
22  protected $collection_key = 'sentiments';
23  protected $annotationsType = GoogleCloudContactcenterinsightsV1CallAnnotation::class;
24  protected $annotationsDataType = 'array';
25  protected $entitiesType = GoogleCloudContactcenterinsightsV1Entity::class;
26  protected $entitiesDataType = 'map';
27  protected $intentsType = GoogleCloudContactcenterinsightsV1Intent::class;
28  protected $intentsDataType = 'map';
29  protected $issueModelResultType = GoogleCloudContactcenterinsightsV1IssueModelResult::class;
30  protected $issueModelResultDataType = '';
31  protected $phraseMatchersType = GoogleCloudContactcenterinsightsV1PhraseMatchData::class;
32  protected $phraseMatchersDataType = 'map';
33  protected $sentimentsType = GoogleCloudContactcenterinsightsV1ConversationLevelSentiment::class;
34  protected $sentimentsDataType = 'array';
35
36  /**
37   * @param GoogleCloudContactcenterinsightsV1CallAnnotation[]
38   */
39  public function setAnnotations($annotations)
40  {
41    $this->annotations = $annotations;
42  }
43  /**
44   * @return GoogleCloudContactcenterinsightsV1CallAnnotation[]
45   */
46  public function getAnnotations()
47  {
48    return $this->annotations;
49  }
50  /**
51   * @param GoogleCloudContactcenterinsightsV1Entity[]
52   */
53  public function setEntities($entities)
54  {
55    $this->entities = $entities;
56  }
57  /**
58   * @return GoogleCloudContactcenterinsightsV1Entity[]
59   */
60  public function getEntities()
61  {
62    return $this->entities;
63  }
64  /**
65   * @param GoogleCloudContactcenterinsightsV1Intent[]
66   */
67  public function setIntents($intents)
68  {
69    $this->intents = $intents;
70  }
71  /**
72   * @return GoogleCloudContactcenterinsightsV1Intent[]
73   */
74  public function getIntents()
75  {
76    return $this->intents;
77  }
78  /**
79   * @param GoogleCloudContactcenterinsightsV1IssueModelResult
80   */
81  public function setIssueModelResult(GoogleCloudContactcenterinsightsV1IssueModelResult $issueModelResult)
82  {
83    $this->issueModelResult = $issueModelResult;
84  }
85  /**
86   * @return GoogleCloudContactcenterinsightsV1IssueModelResult
87   */
88  public function getIssueModelResult()
89  {
90    return $this->issueModelResult;
91  }
92  /**
93   * @param GoogleCloudContactcenterinsightsV1PhraseMatchData[]
94   */
95  public function setPhraseMatchers($phraseMatchers)
96  {
97    $this->phraseMatchers = $phraseMatchers;
98  }
99  /**
100   * @return GoogleCloudContactcenterinsightsV1PhraseMatchData[]
101   */
102  public function getPhraseMatchers()
103  {
104    return $this->phraseMatchers;
105  }
106  /**
107   * @param GoogleCloudContactcenterinsightsV1ConversationLevelSentiment[]
108   */
109  public function setSentiments($sentiments)
110  {
111    $this->sentiments = $sentiments;
112  }
113  /**
114   * @return GoogleCloudContactcenterinsightsV1ConversationLevelSentiment[]
115   */
116  public function getSentiments()
117  {
118    return $this->sentiments;
119  }
120}
121
122// Adding a class alias for backwards compatibility with the previous class name.
123class_alias(GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata');
124