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\Dialogflow;
19
20class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput extends \Google\Collection
21{
22  protected $collection_key = 'textResponses';
23  protected $currentPageType = GoogleCloudDialogflowCxV3Page::class;
24  protected $currentPageDataType = '';
25  /**
26   * @var array[]
27   */
28  public $diagnosticInfo;
29  protected $differencesType = GoogleCloudDialogflowCxV3TestRunDifference::class;
30  protected $differencesDataType = 'array';
31  /**
32   * @var array[]
33   */
34  public $sessionParameters;
35  protected $statusType = GoogleRpcStatus::class;
36  protected $statusDataType = '';
37  protected $textResponsesType = GoogleCloudDialogflowCxV3ResponseMessageText::class;
38  protected $textResponsesDataType = 'array';
39  protected $triggeredIntentType = GoogleCloudDialogflowCxV3Intent::class;
40  protected $triggeredIntentDataType = '';
41
42  /**
43   * @param GoogleCloudDialogflowCxV3Page
44   */
45  public function setCurrentPage(GoogleCloudDialogflowCxV3Page $currentPage)
46  {
47    $this->currentPage = $currentPage;
48  }
49  /**
50   * @return GoogleCloudDialogflowCxV3Page
51   */
52  public function getCurrentPage()
53  {
54    return $this->currentPage;
55  }
56  /**
57   * @param array[]
58   */
59  public function setDiagnosticInfo($diagnosticInfo)
60  {
61    $this->diagnosticInfo = $diagnosticInfo;
62  }
63  /**
64   * @return array[]
65   */
66  public function getDiagnosticInfo()
67  {
68    return $this->diagnosticInfo;
69  }
70  /**
71   * @param GoogleCloudDialogflowCxV3TestRunDifference[]
72   */
73  public function setDifferences($differences)
74  {
75    $this->differences = $differences;
76  }
77  /**
78   * @return GoogleCloudDialogflowCxV3TestRunDifference[]
79   */
80  public function getDifferences()
81  {
82    return $this->differences;
83  }
84  /**
85   * @param array[]
86   */
87  public function setSessionParameters($sessionParameters)
88  {
89    $this->sessionParameters = $sessionParameters;
90  }
91  /**
92   * @return array[]
93   */
94  public function getSessionParameters()
95  {
96    return $this->sessionParameters;
97  }
98  /**
99   * @param GoogleRpcStatus
100   */
101  public function setStatus(GoogleRpcStatus $status)
102  {
103    $this->status = $status;
104  }
105  /**
106   * @return GoogleRpcStatus
107   */
108  public function getStatus()
109  {
110    return $this->status;
111  }
112  /**
113   * @param GoogleCloudDialogflowCxV3ResponseMessageText[]
114   */
115  public function setTextResponses($textResponses)
116  {
117    $this->textResponses = $textResponses;
118  }
119  /**
120   * @return GoogleCloudDialogflowCxV3ResponseMessageText[]
121   */
122  public function getTextResponses()
123  {
124    return $this->textResponses;
125  }
126  /**
127   * @param GoogleCloudDialogflowCxV3Intent
128   */
129  public function setTriggeredIntent(GoogleCloudDialogflowCxV3Intent $triggeredIntent)
130  {
131    $this->triggeredIntent = $triggeredIntent;
132  }
133  /**
134   * @return GoogleCloudDialogflowCxV3Intent
135   */
136  public function getTriggeredIntent()
137  {
138    return $this->triggeredIntent;
139  }
140}
141
142// Adding a class alias for backwards compatibility with the previous class name.
143class_alias(GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput');
144