[f9c482b] | 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 |
|
---|
| 18 | namespace Google\Service\Dialogflow;
|
---|
| 19 |
|
---|
| 20 | class 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 | protected $toolCallResultType = GoogleCloudDialogflowCxV3beta1ToolCallResult::class;
|
---|
| 37 | protected $toolCallResultDataType = '';
|
---|
| 38 |
|
---|
| 39 | /**
|
---|
| 40 | * @param GoogleCloudDialogflowCxV3beta1AudioInput
|
---|
| 41 | */
|
---|
| 42 | public function setAudio(GoogleCloudDialogflowCxV3beta1AudioInput $audio)
|
---|
| 43 | {
|
---|
| 44 | $this->audio = $audio;
|
---|
| 45 | }
|
---|
| 46 | /**
|
---|
| 47 | * @return GoogleCloudDialogflowCxV3beta1AudioInput
|
---|
| 48 | */
|
---|
| 49 | public function getAudio()
|
---|
| 50 | {
|
---|
| 51 | return $this->audio;
|
---|
| 52 | }
|
---|
| 53 | /**
|
---|
| 54 | * @param GoogleCloudDialogflowCxV3beta1DtmfInput
|
---|
| 55 | */
|
---|
| 56 | public function setDtmf(GoogleCloudDialogflowCxV3beta1DtmfInput $dtmf)
|
---|
| 57 | {
|
---|
| 58 | $this->dtmf = $dtmf;
|
---|
| 59 | }
|
---|
| 60 | /**
|
---|
| 61 | * @return GoogleCloudDialogflowCxV3beta1DtmfInput
|
---|
| 62 | */
|
---|
| 63 | public function getDtmf()
|
---|
| 64 | {
|
---|
| 65 | return $this->dtmf;
|
---|
| 66 | }
|
---|
| 67 | /**
|
---|
| 68 | * @param GoogleCloudDialogflowCxV3beta1EventInput
|
---|
| 69 | */
|
---|
| 70 | public function setEvent(GoogleCloudDialogflowCxV3beta1EventInput $event)
|
---|
| 71 | {
|
---|
| 72 | $this->event = $event;
|
---|
| 73 | }
|
---|
| 74 | /**
|
---|
| 75 | * @return GoogleCloudDialogflowCxV3beta1EventInput
|
---|
| 76 | */
|
---|
| 77 | public function getEvent()
|
---|
| 78 | {
|
---|
| 79 | return $this->event;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @param GoogleCloudDialogflowCxV3beta1IntentInput
|
---|
| 83 | */
|
---|
| 84 | public function setIntent(GoogleCloudDialogflowCxV3beta1IntentInput $intent)
|
---|
| 85 | {
|
---|
| 86 | $this->intent = $intent;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @return GoogleCloudDialogflowCxV3beta1IntentInput
|
---|
| 90 | */
|
---|
| 91 | public function getIntent()
|
---|
| 92 | {
|
---|
| 93 | return $this->intent;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @param string
|
---|
| 97 | */
|
---|
| 98 | public function setLanguageCode($languageCode)
|
---|
| 99 | {
|
---|
| 100 | $this->languageCode = $languageCode;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @return string
|
---|
| 104 | */
|
---|
| 105 | public function getLanguageCode()
|
---|
| 106 | {
|
---|
| 107 | return $this->languageCode;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @param GoogleCloudDialogflowCxV3beta1TextInput
|
---|
| 111 | */
|
---|
| 112 | public function setText(GoogleCloudDialogflowCxV3beta1TextInput $text)
|
---|
| 113 | {
|
---|
| 114 | $this->text = $text;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @return GoogleCloudDialogflowCxV3beta1TextInput
|
---|
| 118 | */
|
---|
| 119 | public function getText()
|
---|
| 120 | {
|
---|
| 121 | return $this->text;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @param GoogleCloudDialogflowCxV3beta1ToolCallResult
|
---|
| 125 | */
|
---|
| 126 | public function setToolCallResult(GoogleCloudDialogflowCxV3beta1ToolCallResult $toolCallResult)
|
---|
| 127 | {
|
---|
| 128 | $this->toolCallResult = $toolCallResult;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @return GoogleCloudDialogflowCxV3beta1ToolCallResult
|
---|
| 132 | */
|
---|
| 133 | public function getToolCallResult()
|
---|
| 134 | {
|
---|
| 135 | return $this->toolCallResult;
|
---|
| 136 | }
|
---|
| 137 | }
|
---|
| 138 |
|
---|
| 139 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 140 | class_alias(GoogleCloudDialogflowCxV3beta1QueryInput::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3beta1QueryInput');
|
---|