source: vendor/google/apiclient-services/src/Dialogflow/GoogleCloudDialogflowCxV3WebhookResponse.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 13 days ago

Upload project files

  • Property mode set to 100644
File size: 3.1 KB
Line 
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 GoogleCloudDialogflowCxV3WebhookResponse extends \Google\Model
21{
22 protected $fulfillmentResponseType = GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse::class;
23 protected $fulfillmentResponseDataType = '';
24 protected $pageInfoType = GoogleCloudDialogflowCxV3PageInfo::class;
25 protected $pageInfoDataType = '';
26 /**
27 * @var array[]
28 */
29 public $payload;
30 protected $sessionInfoType = GoogleCloudDialogflowCxV3SessionInfo::class;
31 protected $sessionInfoDataType = '';
32 /**
33 * @var string
34 */
35 public $targetFlow;
36 /**
37 * @var string
38 */
39 public $targetPage;
40
41 /**
42 * @param GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
43 */
44 public function setFulfillmentResponse(GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse $fulfillmentResponse)
45 {
46 $this->fulfillmentResponse = $fulfillmentResponse;
47 }
48 /**
49 * @return GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
50 */
51 public function getFulfillmentResponse()
52 {
53 return $this->fulfillmentResponse;
54 }
55 /**
56 * @param GoogleCloudDialogflowCxV3PageInfo
57 */
58 public function setPageInfo(GoogleCloudDialogflowCxV3PageInfo $pageInfo)
59 {
60 $this->pageInfo = $pageInfo;
61 }
62 /**
63 * @return GoogleCloudDialogflowCxV3PageInfo
64 */
65 public function getPageInfo()
66 {
67 return $this->pageInfo;
68 }
69 /**
70 * @param array[]
71 */
72 public function setPayload($payload)
73 {
74 $this->payload = $payload;
75 }
76 /**
77 * @return array[]
78 */
79 public function getPayload()
80 {
81 return $this->payload;
82 }
83 /**
84 * @param GoogleCloudDialogflowCxV3SessionInfo
85 */
86 public function setSessionInfo(GoogleCloudDialogflowCxV3SessionInfo $sessionInfo)
87 {
88 $this->sessionInfo = $sessionInfo;
89 }
90 /**
91 * @return GoogleCloudDialogflowCxV3SessionInfo
92 */
93 public function getSessionInfo()
94 {
95 return $this->sessionInfo;
96 }
97 /**
98 * @param string
99 */
100 public function setTargetFlow($targetFlow)
101 {
102 $this->targetFlow = $targetFlow;
103 }
104 /**
105 * @return string
106 */
107 public function getTargetFlow()
108 {
109 return $this->targetFlow;
110 }
111 /**
112 * @param string
113 */
114 public function setTargetPage($targetPage)
115 {
116 $this->targetPage = $targetPage;
117 }
118 /**
119 * @return string
120 */
121 public function getTargetPage()
122 {
123 return $this->targetPage;
124 }
125}
126
127// Adding a class alias for backwards compatibility with the previous class name.
128class_alias(GoogleCloudDialogflowCxV3WebhookResponse::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3WebhookResponse');
Note: See TracBrowser for help on using the repository browser.