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 GoogleCloudDialogflowCxV3beta1Page extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'transitionRoutes';
|
---|
23 | protected $advancedSettingsType = GoogleCloudDialogflowCxV3beta1AdvancedSettings::class;
|
---|
24 | protected $advancedSettingsDataType = '';
|
---|
25 | /**
|
---|
26 | * @var string
|
---|
27 | */
|
---|
28 | public $description;
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $displayName;
|
---|
33 | protected $entryFulfillmentType = GoogleCloudDialogflowCxV3beta1Fulfillment::class;
|
---|
34 | protected $entryFulfillmentDataType = '';
|
---|
35 | protected $eventHandlersType = GoogleCloudDialogflowCxV3beta1EventHandler::class;
|
---|
36 | protected $eventHandlersDataType = 'array';
|
---|
37 | protected $formType = GoogleCloudDialogflowCxV3beta1Form::class;
|
---|
38 | protected $formDataType = '';
|
---|
39 | protected $knowledgeConnectorSettingsType = GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings::class;
|
---|
40 | protected $knowledgeConnectorSettingsDataType = '';
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $name;
|
---|
45 | /**
|
---|
46 | * @var string[]
|
---|
47 | */
|
---|
48 | public $transitionRouteGroups;
|
---|
49 | protected $transitionRoutesType = GoogleCloudDialogflowCxV3beta1TransitionRoute::class;
|
---|
50 | protected $transitionRoutesDataType = 'array';
|
---|
51 |
|
---|
52 | /**
|
---|
53 | * @param GoogleCloudDialogflowCxV3beta1AdvancedSettings
|
---|
54 | */
|
---|
55 | public function setAdvancedSettings(GoogleCloudDialogflowCxV3beta1AdvancedSettings $advancedSettings)
|
---|
56 | {
|
---|
57 | $this->advancedSettings = $advancedSettings;
|
---|
58 | }
|
---|
59 | /**
|
---|
60 | * @return GoogleCloudDialogflowCxV3beta1AdvancedSettings
|
---|
61 | */
|
---|
62 | public function getAdvancedSettings()
|
---|
63 | {
|
---|
64 | return $this->advancedSettings;
|
---|
65 | }
|
---|
66 | /**
|
---|
67 | * @param string
|
---|
68 | */
|
---|
69 | public function setDescription($description)
|
---|
70 | {
|
---|
71 | $this->description = $description;
|
---|
72 | }
|
---|
73 | /**
|
---|
74 | * @return string
|
---|
75 | */
|
---|
76 | public function getDescription()
|
---|
77 | {
|
---|
78 | return $this->description;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @param string
|
---|
82 | */
|
---|
83 | public function setDisplayName($displayName)
|
---|
84 | {
|
---|
85 | $this->displayName = $displayName;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @return string
|
---|
89 | */
|
---|
90 | public function getDisplayName()
|
---|
91 | {
|
---|
92 | return $this->displayName;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @param GoogleCloudDialogflowCxV3beta1Fulfillment
|
---|
96 | */
|
---|
97 | public function setEntryFulfillment(GoogleCloudDialogflowCxV3beta1Fulfillment $entryFulfillment)
|
---|
98 | {
|
---|
99 | $this->entryFulfillment = $entryFulfillment;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @return GoogleCloudDialogflowCxV3beta1Fulfillment
|
---|
103 | */
|
---|
104 | public function getEntryFulfillment()
|
---|
105 | {
|
---|
106 | return $this->entryFulfillment;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @param GoogleCloudDialogflowCxV3beta1EventHandler[]
|
---|
110 | */
|
---|
111 | public function setEventHandlers($eventHandlers)
|
---|
112 | {
|
---|
113 | $this->eventHandlers = $eventHandlers;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @return GoogleCloudDialogflowCxV3beta1EventHandler[]
|
---|
117 | */
|
---|
118 | public function getEventHandlers()
|
---|
119 | {
|
---|
120 | return $this->eventHandlers;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @param GoogleCloudDialogflowCxV3beta1Form
|
---|
124 | */
|
---|
125 | public function setForm(GoogleCloudDialogflowCxV3beta1Form $form)
|
---|
126 | {
|
---|
127 | $this->form = $form;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @return GoogleCloudDialogflowCxV3beta1Form
|
---|
131 | */
|
---|
132 | public function getForm()
|
---|
133 | {
|
---|
134 | return $this->form;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @param GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
|
---|
138 | */
|
---|
139 | public function setKnowledgeConnectorSettings(GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings $knowledgeConnectorSettings)
|
---|
140 | {
|
---|
141 | $this->knowledgeConnectorSettings = $knowledgeConnectorSettings;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @return GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
|
---|
145 | */
|
---|
146 | public function getKnowledgeConnectorSettings()
|
---|
147 | {
|
---|
148 | return $this->knowledgeConnectorSettings;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @param string
|
---|
152 | */
|
---|
153 | public function setName($name)
|
---|
154 | {
|
---|
155 | $this->name = $name;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @return string
|
---|
159 | */
|
---|
160 | public function getName()
|
---|
161 | {
|
---|
162 | return $this->name;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @param string[]
|
---|
166 | */
|
---|
167 | public function setTransitionRouteGroups($transitionRouteGroups)
|
---|
168 | {
|
---|
169 | $this->transitionRouteGroups = $transitionRouteGroups;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @return string[]
|
---|
173 | */
|
---|
174 | public function getTransitionRouteGroups()
|
---|
175 | {
|
---|
176 | return $this->transitionRouteGroups;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @param GoogleCloudDialogflowCxV3beta1TransitionRoute[]
|
---|
180 | */
|
---|
181 | public function setTransitionRoutes($transitionRoutes)
|
---|
182 | {
|
---|
183 | $this->transitionRoutes = $transitionRoutes;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @return GoogleCloudDialogflowCxV3beta1TransitionRoute[]
|
---|
187 | */
|
---|
188 | public function getTransitionRoutes()
|
---|
189 | {
|
---|
190 | return $this->transitionRoutes;
|
---|
191 | }
|
---|
192 | }
|
---|
193 |
|
---|
194 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
195 | class_alias(GoogleCloudDialogflowCxV3beta1Page::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3beta1Page');
|
---|