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
18class Google_Service_Dialogflow_GoogleCloudDialogflowCxV3QueryInput extends Google_Model
19{
20  protected $audioType = 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AudioInput';
21  protected $audioDataType = '';
22  protected $dtmfType = 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DtmfInput';
23  protected $dtmfDataType = '';
24  protected $eventType = 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3EventInput';
25  protected $eventDataType = '';
26  protected $intentType = 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3IntentInput';
27  protected $intentDataType = '';
28  public $languageCode;
29  protected $textType = 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3TextInput';
30  protected $textDataType = '';
31
32  /**
33   * @param Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AudioInput
34   */
35  public function setAudio(Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AudioInput $audio)
36  {
37    $this->audio = $audio;
38  }
39  /**
40   * @return Google_Service_Dialogflow_GoogleCloudDialogflowCxV3AudioInput
41   */
42  public function getAudio()
43  {
44    return $this->audio;
45  }
46  /**
47   * @param Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DtmfInput
48   */
49  public function setDtmf(Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DtmfInput $dtmf)
50  {
51    $this->dtmf = $dtmf;
52  }
53  /**
54   * @return Google_Service_Dialogflow_GoogleCloudDialogflowCxV3DtmfInput
55   */
56  public function getDtmf()
57  {
58    return $this->dtmf;
59  }
60  /**
61   * @param Google_Service_Dialogflow_GoogleCloudDialogflowCxV3EventInput
62   */
63  public function setEvent(Google_Service_Dialogflow_GoogleCloudDialogflowCxV3EventInput $event)
64  {
65    $this->event = $event;
66  }
67  /**
68   * @return Google_Service_Dialogflow_GoogleCloudDialogflowCxV3EventInput
69   */
70  public function getEvent()
71  {
72    return $this->event;
73  }
74  /**
75   * @param Google_Service_Dialogflow_GoogleCloudDialogflowCxV3IntentInput
76   */
77  public function setIntent(Google_Service_Dialogflow_GoogleCloudDialogflowCxV3IntentInput $intent)
78  {
79    $this->intent = $intent;
80  }
81  /**
82   * @return Google_Service_Dialogflow_GoogleCloudDialogflowCxV3IntentInput
83   */
84  public function getIntent()
85  {
86    return $this->intent;
87  }
88  public function setLanguageCode($languageCode)
89  {
90    $this->languageCode = $languageCode;
91  }
92  public function getLanguageCode()
93  {
94    return $this->languageCode;
95  }
96  /**
97   * @param Google_Service_Dialogflow_GoogleCloudDialogflowCxV3TextInput
98   */
99  public function setText(Google_Service_Dialogflow_GoogleCloudDialogflowCxV3TextInput $text)
100  {
101    $this->text = $text;
102  }
103  /**
104   * @return Google_Service_Dialogflow_GoogleCloudDialogflowCxV3TextInput
105   */
106  public function getText()
107  {
108    return $this->text;
109  }
110}
111