<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Contactcenterinsights;

class GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata extends \Google\Collection
{
  protected $collection_key = 'sentiments';
  protected $annotationsType = GoogleCloudContactcenterinsightsV1alpha1CallAnnotation::class;
  protected $annotationsDataType = 'array';
  protected $entitiesType = GoogleCloudContactcenterinsightsV1alpha1Entity::class;
  protected $entitiesDataType = 'map';
  protected $intentsType = GoogleCloudContactcenterinsightsV1alpha1Intent::class;
  protected $intentsDataType = 'map';
  protected $issueModelResultType = GoogleCloudContactcenterinsightsV1alpha1IssueModelResult::class;
  protected $issueModelResultDataType = '';
  protected $phraseMatchersType = GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData::class;
  protected $phraseMatchersDataType = 'map';
  protected $qaScorecardResultsType = GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult::class;
  protected $qaScorecardResultsDataType = 'array';
  protected $sentimentsType = GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment::class;
  protected $sentimentsDataType = 'array';
  protected $silenceType = GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence::class;
  protected $silenceDataType = '';

  /**
   * A list of call annotations that apply to this call.
   *
   * @param GoogleCloudContactcenterinsightsV1alpha1CallAnnotation[] $annotations
   */
  public function setAnnotations($annotations)
  {
    $this->annotations = $annotations;
  }
  /**
   * @return GoogleCloudContactcenterinsightsV1alpha1CallAnnotation[]
   */
  public function getAnnotations()
  {
    return $this->annotations;
  }
  /**
   * All the entities in the call.
   *
   * @param GoogleCloudContactcenterinsightsV1alpha1Entity[] $entities
   */
  public function setEntities($entities)
  {
    $this->entities = $entities;
  }
  /**
   * @return GoogleCloudContactcenterinsightsV1alpha1Entity[]
   */
  public function getEntities()
  {
    return $this->entities;
  }
  /**
   * All the matched intents in the call.
   *
   * @param GoogleCloudContactcenterinsightsV1alpha1Intent[] $intents
   */
  public function setIntents($intents)
  {
    $this->intents = $intents;
  }
  /**
   * @return GoogleCloudContactcenterinsightsV1alpha1Intent[]
   */
  public function getIntents()
  {
    return $this->intents;
  }
  /**
   * Overall conversation-level issue modeling result.
   *
   * @param GoogleCloudContactcenterinsightsV1alpha1IssueModelResult $issueModelResult
   */
  public function setIssueModelResult(GoogleCloudContactcenterinsightsV1alpha1IssueModelResult $issueModelResult)
  {
    $this->issueModelResult = $issueModelResult;
  }
  /**
   * @return GoogleCloudContactcenterinsightsV1alpha1IssueModelResult
   */
  public function getIssueModelResult()
  {
    return $this->issueModelResult;
  }
  /**
   * All the matched phrase matchers in the call.
   *
   * @param GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData[] $phraseMatchers
   */
  public function setPhraseMatchers($phraseMatchers)
  {
    $this->phraseMatchers = $phraseMatchers;
  }
  /**
   * @return GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData[]
   */
  public function getPhraseMatchers()
  {
    return $this->phraseMatchers;
  }
  /**
   * Results of scoring QaScorecards.
   *
   * @param GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult[] $qaScorecardResults
   */
  public function setQaScorecardResults($qaScorecardResults)
  {
    $this->qaScorecardResults = $qaScorecardResults;
  }
  /**
   * @return GoogleCloudContactcenterinsightsV1alpha1QaScorecardResult[]
   */
  public function getQaScorecardResults()
  {
    return $this->qaScorecardResults;
  }
  /**
   * Overall conversation-level sentiment for each channel of the call.
   *
   * @param GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment[] $sentiments
   */
  public function setSentiments($sentiments)
  {
    $this->sentiments = $sentiments;
  }
  /**
   * @return GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment[]
   */
  public function getSentiments()
  {
    return $this->sentiments;
  }
  /**
   * Overall conversation-level silence during the call.
   *
   * @param GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence $silence
   */
  public function setSilence(GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence $silence)
  {
    $this->silence = $silence;
  }
  /**
   * @return GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence
   */
  public function getSilence()
  {
    return $this->silence;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata::class, 'Google_Service_Contactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata');
