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 GoogleCloudDialogflowCxV3beta1QueryInput extends \Google\Model 21{ 22 protected $audioType = GoogleCloudDialogflowCxV3beta1AudioInput::class; 23 protected $audioDataType = ''; 24 protected $dtmfType = GoogleCloudDialogflowCxV3beta1DtmfInput::class; 25 protected $dtmfDataType = ''; 26 protected $eventType = GoogleCloudDialogflowCxV3beta1EventInput::class; 27 protected $eventDataType = ''; 28 protected $intentType = GoogleCloudDialogflowCxV3beta1IntentInput::class; 29 protected $intentDataType = ''; 30 /** 31 * @var string 32 */ 33 public $languageCode; 34 protected $textType = GoogleCloudDialogflowCxV3beta1TextInput::class; 35 protected $textDataType = ''; 36 37 /** 38 * @param GoogleCloudDialogflowCxV3beta1AudioInput 39 */ 40 public function setAudio(GoogleCloudDialogflowCxV3beta1AudioInput $audio) 41 { 42 $this->audio = $audio; 43 } 44 /** 45 * @return GoogleCloudDialogflowCxV3beta1AudioInput 46 */ 47 public function getAudio() 48 { 49 return $this->audio; 50 } 51 /** 52 * @param GoogleCloudDialogflowCxV3beta1DtmfInput 53 */ 54 public function setDtmf(GoogleCloudDialogflowCxV3beta1DtmfInput $dtmf) 55 { 56 $this->dtmf = $dtmf; 57 } 58 /** 59 * @return GoogleCloudDialogflowCxV3beta1DtmfInput 60 */ 61 public function getDtmf() 62 { 63 return $this->dtmf; 64 } 65 /** 66 * @param GoogleCloudDialogflowCxV3beta1EventInput 67 */ 68 public function setEvent(GoogleCloudDialogflowCxV3beta1EventInput $event) 69 { 70 $this->event = $event; 71 } 72 /** 73 * @return GoogleCloudDialogflowCxV3beta1EventInput 74 */ 75 public function getEvent() 76 { 77 return $this->event; 78 } 79 /** 80 * @param GoogleCloudDialogflowCxV3beta1IntentInput 81 */ 82 public function setIntent(GoogleCloudDialogflowCxV3beta1IntentInput $intent) 83 { 84 $this->intent = $intent; 85 } 86 /** 87 * @return GoogleCloudDialogflowCxV3beta1IntentInput 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 GoogleCloudDialogflowCxV3beta1TextInput 109 */ 110 public function setText(GoogleCloudDialogflowCxV3beta1TextInput $text) 111 { 112 $this->text = $text; 113 } 114 /** 115 * @return GoogleCloudDialogflowCxV3beta1TextInput 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(GoogleCloudDialogflowCxV3beta1QueryInput::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3beta1QueryInput'); 125