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 GoogleCloudDialogflowCxV3QueryInput extends \Google\Model
21{
22  protected $audioType = GoogleCloudDialogflowCxV3AudioInput::class;
23  protected $audioDataType = '';
24  protected $dtmfType = GoogleCloudDialogflowCxV3DtmfInput::class;
25  protected $dtmfDataType = '';
26  protected $eventType = GoogleCloudDialogflowCxV3EventInput::class;
27  protected $eventDataType = '';
28  protected $intentType = GoogleCloudDialogflowCxV3IntentInput::class;
29  protected $intentDataType = '';
30  /**
31   * @var string
32   */
33  public $languageCode;
34  protected $textType = GoogleCloudDialogflowCxV3TextInput::class;
35  protected $textDataType = '';
36
37  /**
38   * @param GoogleCloudDialogflowCxV3AudioInput
39   */
40  public function setAudio(GoogleCloudDialogflowCxV3AudioInput $audio)
41  {
42    $this->audio = $audio;
43  }
44  /**
45   * @return GoogleCloudDialogflowCxV3AudioInput
46   */
47  public function getAudio()
48  {
49    return $this->audio;
50  }
51  /**
52   * @param GoogleCloudDialogflowCxV3DtmfInput
53   */
54  public function setDtmf(GoogleCloudDialogflowCxV3DtmfInput $dtmf)
55  {
56    $this->dtmf = $dtmf;
57  }
58  /**
59   * @return GoogleCloudDialogflowCxV3DtmfInput
60   */
61  public function getDtmf()
62  {
63    return $this->dtmf;
64  }
65  /**
66   * @param GoogleCloudDialogflowCxV3EventInput
67   */
68  public function setEvent(GoogleCloudDialogflowCxV3EventInput $event)
69  {
70    $this->event = $event;
71  }
72  /**
73   * @return GoogleCloudDialogflowCxV3EventInput
74   */
75  public function getEvent()
76  {
77    return $this->event;
78  }
79  /**
80   * @param GoogleCloudDialogflowCxV3IntentInput
81   */
82  public function setIntent(GoogleCloudDialogflowCxV3IntentInput $intent)
83  {
84    $this->intent = $intent;
85  }
86  /**
87   * @return GoogleCloudDialogflowCxV3IntentInput
88   */
89  public function getIntent()
90  {
91    return $this->intent;
92  }
93  /**
94   * @param string
95   */
96  public function setLanguageCode($languageCode)
97  {
98    $this->languageCode = $languageCode;
99  }
100  /**
101   * @return string
102   */
103  public function getLanguageCode()
104  {
105    return $this->languageCode;
106  }
107  /**
108   * @param GoogleCloudDialogflowCxV3TextInput
109   */
110  public function setText(GoogleCloudDialogflowCxV3TextInput $text)
111  {
112    $this->text = $text;
113  }
114  /**
115   * @return GoogleCloudDialogflowCxV3TextInput
116   */
117  public function getText()
118  {
119    return $this->text;
120  }
121}
122
123// Adding a class alias for backwards compatibility with the previous class name.
124class_alias(GoogleCloudDialogflowCxV3QueryInput::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3QueryInput');
125