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 GoogleCloudDialogflowV2beta1IntentMessage extends \Google\Model
21{
22  protected $basicCardType = GoogleCloudDialogflowV2beta1IntentMessageBasicCard::class;
23  protected $basicCardDataType = '';
24  protected $browseCarouselCardType = GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard::class;
25  protected $browseCarouselCardDataType = '';
26  protected $cardType = GoogleCloudDialogflowV2beta1IntentMessageCard::class;
27  protected $cardDataType = '';
28  protected $carouselSelectType = GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect::class;
29  protected $carouselSelectDataType = '';
30  protected $imageType = GoogleCloudDialogflowV2beta1IntentMessageImage::class;
31  protected $imageDataType = '';
32  protected $linkOutSuggestionType = GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion::class;
33  protected $linkOutSuggestionDataType = '';
34  protected $listSelectType = GoogleCloudDialogflowV2beta1IntentMessageListSelect::class;
35  protected $listSelectDataType = '';
36  protected $mediaContentType = GoogleCloudDialogflowV2beta1IntentMessageMediaContent::class;
37  protected $mediaContentDataType = '';
38  /**
39   * @var array[]
40   */
41  public $payload;
42  /**
43   * @var string
44   */
45  public $platform;
46  protected $quickRepliesType = GoogleCloudDialogflowV2beta1IntentMessageQuickReplies::class;
47  protected $quickRepliesDataType = '';
48  protected $rbmCarouselRichCardType = GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard::class;
49  protected $rbmCarouselRichCardDataType = '';
50  protected $rbmStandaloneRichCardType = GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard::class;
51  protected $rbmStandaloneRichCardDataType = '';
52  protected $rbmTextType = GoogleCloudDialogflowV2beta1IntentMessageRbmText::class;
53  protected $rbmTextDataType = '';
54  protected $simpleResponsesType = GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses::class;
55  protected $simpleResponsesDataType = '';
56  protected $suggestionsType = GoogleCloudDialogflowV2beta1IntentMessageSuggestions::class;
57  protected $suggestionsDataType = '';
58  protected $tableCardType = GoogleCloudDialogflowV2beta1IntentMessageTableCard::class;
59  protected $tableCardDataType = '';
60  protected $telephonyPlayAudioType = GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio::class;
61  protected $telephonyPlayAudioDataType = '';
62  protected $telephonySynthesizeSpeechType = GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech::class;
63  protected $telephonySynthesizeSpeechDataType = '';
64  protected $telephonyTransferCallType = GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall::class;
65  protected $telephonyTransferCallDataType = '';
66  protected $textType = GoogleCloudDialogflowV2beta1IntentMessageText::class;
67  protected $textDataType = '';
68
69  /**
70   * @param GoogleCloudDialogflowV2beta1IntentMessageBasicCard
71   */
72  public function setBasicCard(GoogleCloudDialogflowV2beta1IntentMessageBasicCard $basicCard)
73  {
74    $this->basicCard = $basicCard;
75  }
76  /**
77   * @return GoogleCloudDialogflowV2beta1IntentMessageBasicCard
78   */
79  public function getBasicCard()
80  {
81    return $this->basicCard;
82  }
83  /**
84   * @param GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard
85   */
86  public function setBrowseCarouselCard(GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard $browseCarouselCard)
87  {
88    $this->browseCarouselCard = $browseCarouselCard;
89  }
90  /**
91   * @return GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard
92   */
93  public function getBrowseCarouselCard()
94  {
95    return $this->browseCarouselCard;
96  }
97  /**
98   * @param GoogleCloudDialogflowV2beta1IntentMessageCard
99   */
100  public function setCard(GoogleCloudDialogflowV2beta1IntentMessageCard $card)
101  {
102    $this->card = $card;
103  }
104  /**
105   * @return GoogleCloudDialogflowV2beta1IntentMessageCard
106   */
107  public function getCard()
108  {
109    return $this->card;
110  }
111  /**
112   * @param GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect
113   */
114  public function setCarouselSelect(GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect $carouselSelect)
115  {
116    $this->carouselSelect = $carouselSelect;
117  }
118  /**
119   * @return GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect
120   */
121  public function getCarouselSelect()
122  {
123    return $this->carouselSelect;
124  }
125  /**
126   * @param GoogleCloudDialogflowV2beta1IntentMessageImage
127   */
128  public function setImage(GoogleCloudDialogflowV2beta1IntentMessageImage $image)
129  {
130    $this->image = $image;
131  }
132  /**
133   * @return GoogleCloudDialogflowV2beta1IntentMessageImage
134   */
135  public function getImage()
136  {
137    return $this->image;
138  }
139  /**
140   * @param GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion
141   */
142  public function setLinkOutSuggestion(GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion $linkOutSuggestion)
143  {
144    $this->linkOutSuggestion = $linkOutSuggestion;
145  }
146  /**
147   * @return GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion
148   */
149  public function getLinkOutSuggestion()
150  {
151    return $this->linkOutSuggestion;
152  }
153  /**
154   * @param GoogleCloudDialogflowV2beta1IntentMessageListSelect
155   */
156  public function setListSelect(GoogleCloudDialogflowV2beta1IntentMessageListSelect $listSelect)
157  {
158    $this->listSelect = $listSelect;
159  }
160  /**
161   * @return GoogleCloudDialogflowV2beta1IntentMessageListSelect
162   */
163  public function getListSelect()
164  {
165    return $this->listSelect;
166  }
167  /**
168   * @param GoogleCloudDialogflowV2beta1IntentMessageMediaContent
169   */
170  public function setMediaContent(GoogleCloudDialogflowV2beta1IntentMessageMediaContent $mediaContent)
171  {
172    $this->mediaContent = $mediaContent;
173  }
174  /**
175   * @return GoogleCloudDialogflowV2beta1IntentMessageMediaContent
176   */
177  public function getMediaContent()
178  {
179    return $this->mediaContent;
180  }
181  /**
182   * @param array[]
183   */
184  public function setPayload($payload)
185  {
186    $this->payload = $payload;
187  }
188  /**
189   * @return array[]
190   */
191  public function getPayload()
192  {
193    return $this->payload;
194  }
195  /**
196   * @param string
197   */
198  public function setPlatform($platform)
199  {
200    $this->platform = $platform;
201  }
202  /**
203   * @return string
204   */
205  public function getPlatform()
206  {
207    return $this->platform;
208  }
209  /**
210   * @param GoogleCloudDialogflowV2beta1IntentMessageQuickReplies
211   */
212  public function setQuickReplies(GoogleCloudDialogflowV2beta1IntentMessageQuickReplies $quickReplies)
213  {
214    $this->quickReplies = $quickReplies;
215  }
216  /**
217   * @return GoogleCloudDialogflowV2beta1IntentMessageQuickReplies
218   */
219  public function getQuickReplies()
220  {
221    return $this->quickReplies;
222  }
223  /**
224   * @param GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
225   */
226  public function setRbmCarouselRichCard(GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard $rbmCarouselRichCard)
227  {
228    $this->rbmCarouselRichCard = $rbmCarouselRichCard;
229  }
230  /**
231   * @return GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
232   */
233  public function getRbmCarouselRichCard()
234  {
235    return $this->rbmCarouselRichCard;
236  }
237  /**
238   * @param GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
239   */
240  public function setRbmStandaloneRichCard(GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard $rbmStandaloneRichCard)
241  {
242    $this->rbmStandaloneRichCard = $rbmStandaloneRichCard;
243  }
244  /**
245   * @return GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
246   */
247  public function getRbmStandaloneRichCard()
248  {
249    return $this->rbmStandaloneRichCard;
250  }
251  /**
252   * @param GoogleCloudDialogflowV2beta1IntentMessageRbmText
253   */
254  public function setRbmText(GoogleCloudDialogflowV2beta1IntentMessageRbmText $rbmText)
255  {
256    $this->rbmText = $rbmText;
257  }
258  /**
259   * @return GoogleCloudDialogflowV2beta1IntentMessageRbmText
260   */
261  public function getRbmText()
262  {
263    return $this->rbmText;
264  }
265  /**
266   * @param GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses
267   */
268  public function setSimpleResponses(GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses $simpleResponses)
269  {
270    $this->simpleResponses = $simpleResponses;
271  }
272  /**
273   * @return GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses
274   */
275  public function getSimpleResponses()
276  {
277    return $this->simpleResponses;
278  }
279  /**
280   * @param GoogleCloudDialogflowV2beta1IntentMessageSuggestions
281   */
282  public function setSuggestions(GoogleCloudDialogflowV2beta1IntentMessageSuggestions $suggestions)
283  {
284    $this->suggestions = $suggestions;
285  }
286  /**
287   * @return GoogleCloudDialogflowV2beta1IntentMessageSuggestions
288   */
289  public function getSuggestions()
290  {
291    return $this->suggestions;
292  }
293  /**
294   * @param GoogleCloudDialogflowV2beta1IntentMessageTableCard
295   */
296  public function setTableCard(GoogleCloudDialogflowV2beta1IntentMessageTableCard $tableCard)
297  {
298    $this->tableCard = $tableCard;
299  }
300  /**
301   * @return GoogleCloudDialogflowV2beta1IntentMessageTableCard
302   */
303  public function getTableCard()
304  {
305    return $this->tableCard;
306  }
307  /**
308   * @param GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
309   */
310  public function setTelephonyPlayAudio(GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio $telephonyPlayAudio)
311  {
312    $this->telephonyPlayAudio = $telephonyPlayAudio;
313  }
314  /**
315   * @return GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
316   */
317  public function getTelephonyPlayAudio()
318  {
319    return $this->telephonyPlayAudio;
320  }
321  /**
322   * @param GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
323   */
324  public function setTelephonySynthesizeSpeech(GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech $telephonySynthesizeSpeech)
325  {
326    $this->telephonySynthesizeSpeech = $telephonySynthesizeSpeech;
327  }
328  /**
329   * @return GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
330   */
331  public function getTelephonySynthesizeSpeech()
332  {
333    return $this->telephonySynthesizeSpeech;
334  }
335  /**
336   * @param GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall
337   */
338  public function setTelephonyTransferCall(GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall $telephonyTransferCall)
339  {
340    $this->telephonyTransferCall = $telephonyTransferCall;
341  }
342  /**
343   * @return GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall
344   */
345  public function getTelephonyTransferCall()
346  {
347    return $this->telephonyTransferCall;
348  }
349  /**
350   * @param GoogleCloudDialogflowV2beta1IntentMessageText
351   */
352  public function setText(GoogleCloudDialogflowV2beta1IntentMessageText $text)
353  {
354    $this->text = $text;
355  }
356  /**
357   * @return GoogleCloudDialogflowV2beta1IntentMessageText
358   */
359  public function getText()
360  {
361    return $this->text;
362  }
363}
364
365// Adding a class alias for backwards compatibility with the previous class name.
366class_alias(GoogleCloudDialogflowV2beta1IntentMessage::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessage');
367