[e3d4e0a] | 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 GoogleCloudDialogflowV2beta1ResponseMessage extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $endInteractionType = GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction::class;
|
---|
| 23 | protected $endInteractionDataType = '';
|
---|
| 24 | protected $liveAgentHandoffType = GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff::class;
|
---|
| 25 | protected $liveAgentHandoffDataType = '';
|
---|
| 26 | protected $mixedAudioType = GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio::class;
|
---|
| 27 | protected $mixedAudioDataType = '';
|
---|
| 28 | /**
|
---|
| 29 | * @var array[]
|
---|
| 30 | */
|
---|
| 31 | public $payload;
|
---|
| 32 | protected $telephonyTransferCallType = GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall::class;
|
---|
| 33 | protected $telephonyTransferCallDataType = '';
|
---|
| 34 | protected $textType = GoogleCloudDialogflowV2beta1ResponseMessageText::class;
|
---|
| 35 | protected $textDataType = '';
|
---|
| 36 |
|
---|
| 37 | /**
|
---|
| 38 | * @param GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
|
---|
| 39 | */
|
---|
| 40 | public function setEndInteraction(GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction $endInteraction)
|
---|
| 41 | {
|
---|
| 42 | $this->endInteraction = $endInteraction;
|
---|
| 43 | }
|
---|
| 44 | /**
|
---|
| 45 | * @return GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
|
---|
| 46 | */
|
---|
| 47 | public function getEndInteraction()
|
---|
| 48 | {
|
---|
| 49 | return $this->endInteraction;
|
---|
| 50 | }
|
---|
| 51 | /**
|
---|
| 52 | * @param GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
|
---|
| 53 | */
|
---|
| 54 | public function setLiveAgentHandoff(GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff $liveAgentHandoff)
|
---|
| 55 | {
|
---|
| 56 | $this->liveAgentHandoff = $liveAgentHandoff;
|
---|
| 57 | }
|
---|
| 58 | /**
|
---|
| 59 | * @return GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
|
---|
| 60 | */
|
---|
| 61 | public function getLiveAgentHandoff()
|
---|
| 62 | {
|
---|
| 63 | return $this->liveAgentHandoff;
|
---|
| 64 | }
|
---|
| 65 | /**
|
---|
| 66 | * @param GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
|
---|
| 67 | */
|
---|
| 68 | public function setMixedAudio(GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio $mixedAudio)
|
---|
| 69 | {
|
---|
| 70 | $this->mixedAudio = $mixedAudio;
|
---|
| 71 | }
|
---|
| 72 | /**
|
---|
| 73 | * @return GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
|
---|
| 74 | */
|
---|
| 75 | public function getMixedAudio()
|
---|
| 76 | {
|
---|
| 77 | return $this->mixedAudio;
|
---|
| 78 | }
|
---|
| 79 | /**
|
---|
| 80 | * @param array[]
|
---|
| 81 | */
|
---|
| 82 | public function setPayload($payload)
|
---|
| 83 | {
|
---|
| 84 | $this->payload = $payload;
|
---|
| 85 | }
|
---|
| 86 | /**
|
---|
| 87 | * @return array[]
|
---|
| 88 | */
|
---|
| 89 | public function getPayload()
|
---|
| 90 | {
|
---|
| 91 | return $this->payload;
|
---|
| 92 | }
|
---|
| 93 | /**
|
---|
| 94 | * @param GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
---|
| 95 | */
|
---|
| 96 | public function setTelephonyTransferCall(GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall $telephonyTransferCall)
|
---|
| 97 | {
|
---|
| 98 | $this->telephonyTransferCall = $telephonyTransferCall;
|
---|
| 99 | }
|
---|
| 100 | /**
|
---|
| 101 | * @return GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
|
---|
| 102 | */
|
---|
| 103 | public function getTelephonyTransferCall()
|
---|
| 104 | {
|
---|
| 105 | return $this->telephonyTransferCall;
|
---|
| 106 | }
|
---|
| 107 | /**
|
---|
| 108 | * @param GoogleCloudDialogflowV2beta1ResponseMessageText
|
---|
| 109 | */
|
---|
| 110 | public function setText(GoogleCloudDialogflowV2beta1ResponseMessageText $text)
|
---|
| 111 | {
|
---|
| 112 | $this->text = $text;
|
---|
| 113 | }
|
---|
| 114 | /**
|
---|
| 115 | * @return GoogleCloudDialogflowV2beta1ResponseMessageText
|
---|
| 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.
|
---|
| 124 | class_alias(GoogleCloudDialogflowV2beta1ResponseMessage::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1ResponseMessage');
|
---|